/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;i<13;i++)
   ^~~
/in/foo.cc:15:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(i=1;i<=9;i++)
    ^~~
/in/foo.cc:15:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
/in/foo.cc:17:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     if(s%11!=10)
     ^~
/in/foo.cc:24:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
       printf("-%d",s%11);
                        ^
/in/foo.cc:28:10: warning: operation on 'i' may be undefined [-Wsequence-point]
     for(i=i=0;i<12;i++)
         ~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 368.0 KiB
#2 Wrong Answer 3ms 368.0 KiB
#3 Wrong Answer 4ms 384.0 KiB
#4 Wrong Answer 4ms 384.0 KiB
#5 Wrong Answer 5ms 256.0 KiB
#6 Wrong Answer 4ms 376.0 KiB
#7 Wrong Answer 4ms 384.0 KiB
#8 Wrong Answer 4ms 372.0 KiB
#9 Wrong Answer 3ms 364.0 KiB
#10 Wrong Answer 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C++
递交时间
2018-06-15 11:47:00
评测时间
2018-06-15 11:47:00
评测机
分数
0
总耗时
42ms
峰值内存
384.0 KiB