/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
     scanf("%d",&a[i]);
                     ^
/in/foo.cc:25:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(i=1;i<=m;i++)
    ^~~
/in/foo.cc:27:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     sum=99999;
     ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 364.0 KiB
#2 Wrong Answer 3ms 352.0 KiB
#3 Wrong Answer 3ms 348.0 KiB
#4 Wrong Answer 3ms 384.0 KiB
#5 Wrong Answer 4ms 380.0 KiB
#6 Wrong Answer 4ms 384.0 KiB
#7 Wrong Answer 4ms 348.0 KiB
#8 Wrong Answer 3ms 348.0 KiB
#9 Wrong Answer 3ms 356.0 KiB
#10 Wrong Answer 3ms 368.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2018-10-14 22:37:38
评测时间
2018-10-14 22:37:39
评测机
分数
0
总耗时
39ms
峰值内存
384.0 KiB