记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d %d",&a,&b);
         ~^     ~~
         %ld
/in/foo.c:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(k=0;k<=i;k++)
     ^~~
/in/foo.c:17:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   return 0;
   ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 192.0 KiB
#2 Wrong Answer 1ms 200.0 KiB
#3 Wrong Answer 0ms 192.0 KiB
#4 Wrong Answer 0ms 192.0 KiB
#5 Wrong Answer 0ms 192.0 KiB

信息

递交者
类型
递交
题目
2-1 比赛榜单
比赛
南师大2018年蓝桥杯热身赛
语言
C
递交时间
2018-12-12 13:58:44
评测时间
2018-12-12 13:58:44
评测机
分数
0
总耗时
4ms
峰值内存
200.0 KiB