记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
   11 |         scanf("%d", &arr[i]);
      |                ~^   ~~~~~~~
      |                 |   |
      |                 |   long int *
      |                 int *
      |                %ld
foo.c:30:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   30 |     printf("%d", s);
      |             ~^   ~
      |              |   |
      |              int long int
      |             %ld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 256, expect 332. 5ms 1.75 MiB
#2 Wrong Answer Read 422, expect 561. 5ms 1.75 MiB
#3 Wrong Answer Read 116, expect 190. 4ms 1.75 MiB
#4 Wrong Answer Read 211, expect 289. 4ms 1.75 MiB
#5 Wrong Answer Read 709, expect 1108. 3ms 1.75 MiB
#6 Wrong Answer Read 2253, expect 2432. 2ms 1.75 MiB
#7 Wrong Answer Read 843, expect 1296. 2ms 1.746 MiB
#8 Wrong Answer Read 4150, expect 4234. 2ms 1.75 MiB
#9 Wrong Answer Read 3453, expect 3812. 3ms 1.75 MiB
#10 Wrong Answer Read 4657, expect 4734. 3ms 1.75 MiB
#11 Wrong Answer Read 1643543491, expect 2046268835858. 8ms 1.75 MiB
#12 Wrong Answer Read 1447369925, expect 2377715524375. 10ms 1.75 MiB
#13 Wrong Answer Read 1230741218, expect 10899614033028. 11ms 1.75 MiB
#14 Wrong Answer Read -709352850, expect 15426510999030. 12ms 1.75 MiB
#15 Wrong Answer Read -413895048, expect 21512063346138. 21ms 1.75 MiB
#16 Wrong Answer Read -1302107184, expect 16893114813133. 18ms 1.75 MiB
#17 Wrong Answer Read 13007756, expect 36083760649168. 30ms 1.75 MiB
#18 Wrong Answer Read 2037929021, expect 46570693052404. 40ms 1.867 MiB
#19 Wrong Answer Read -840537328, expect 44492511274615. 37ms 1.75 MiB
#20 Wrong Answer Read -1777946288, expect 44877831830013. 37ms 1.75 MiB

信息

递交者
类型
递交
题目
P1391 Problem 1C. 连续最大和
比赛
悬赏令第一周
语言
C
递交时间
2022-09-27 20:59:31
评测时间
2022-09-27 20:59:31
评测机
分数
0
总耗时
265ms
峰值内存
1.867 MiB