记录详情

Wrong Answer

foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
    2 | void main()
      |      ^~~~
foo.c: In function 'main':
foo.c:4:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    4 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:9:6: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
    9 |     k++;
      |     ~^~
foo.c:6:2: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
    6 | {for (m=2;m<=j; m++)
      |  ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -716209813, expect 25. 2ms 256.0 KiB
#2 Wrong Answer Read 1954201984, expect 46. 2ms 256.0 KiB
#3 Wrong Answer Read 1840820624, expect 62. 1ms 256.0 KiB
#4 Wrong Answer Read 1065227807, expect 1229. 22ms 256.0 KiB
#5 Wrong Answer Read 1036229160, expect 2262. 81ms 256.0 KiB

信息

递交者
类型
递交
比赛
2022春 C语言课程设计 作业1
语言
C
递交时间
2022-02-28 20:32:34
评测时间
2022-02-28 20:32:34
评测机
分数
0
总耗时
110ms
峰值内存
256.0 KiB