/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
   if(abs(t)!=1)printf("%ld",abs(t));
                                   ^
/in/foo.cc:16:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
   if(!n&&abs(t)==1)printf("%ld",t);
                                  ^
/in/foo.cc:18:29: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
   if(n&&n-1)printf("x^%ld",n);
                             ^
# 状态 耗时 内存占用
#1 Accepted 3ms 328.0 KiB
#2 Accepted 3ms 332.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Wrong Answer 3ms 368.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Wrong Answer 1ms 336.0 KiB
#10 Accepted 2ms 332.0 KiB

信息

递交者
类型
递交
题目
P1812 多项式输出
语言
C++
递交时间
2017-06-27 19:20:27
评测时间
2017-06-27 19:20:27
评测机
分数
80
总耗时
32ms
峰值内存
412.0 KiB