记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:50:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
                 printf("%d\n",ans);
                                  ^
foo.cc:32:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&n);
         ~~~~~^~~~~~~~~
foo.cc:36:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
                 scanf("%d",&a[i]);
                 ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 0ms 228.0 KiB
#2 Accepted 0ms 240.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Wrong Answer 读取到 -2147479551 ,应为 2147487745 24ms 2.184 MiB
#7 Wrong Answer 读取到 -2147455714 ,应为 2147511582 25ms 2.254 MiB
#8 Wrong Answer 读取到 -2147476788 ,应为 2147490508 23ms 2.184 MiB
#9 Wrong Answer 读取到 -2147457829 ,应为 2147509467 22ms 2.184 MiB
#10 Wrong Answer 读取到 -2147483501 ,应为 2147483795 22ms 2.25 MiB
#11 Wrong Answer 读取到 -2147462555 ,应为 2147504741 23ms 2.117 MiB
#12 Wrong Answer 读取到 -2147468767 ,应为 2147498529 23ms 2.195 MiB
#13 Wrong Answer 读取到 -1795044083 ,应为 2499923213 21ms 2.207 MiB

信息

递交者
类型
递交
题目
P1068 理发
语言
C++
递交时间
2020-11-05 17:33:40
评测时间
2020-11-05 17:33:40
评测机
分数
36
总耗时
192ms
峰值内存
2.254 MiB