/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:41:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int i = 1; i < cnt; i++) 
   ^~~
/in/foo.cc:64:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    printf("%d\n", ans); 
    ^~~~~~
/in/foo.cc:19:16: warning: unused variable 'x' [-Wunused-variable]
   int cnt = 0, x;
                ^
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB
#2 Wrong Answer 1ms 320.0 KiB
#3 Wrong Answer 1ms 324.0 KiB
#4 Wrong Answer 1ms 320.0 KiB
#5 Wrong Answer 2ms 320.0 KiB
#6 Wrong Answer 1ms 320.0 KiB
#7 Wrong Answer 1ms 320.0 KiB
#8 Wrong Answer 2ms 316.0 KiB
#9 Wrong Answer 2ms 316.0 KiB
#10 Wrong Answer 2ms 320.0 KiB

信息

递交者
类型
递交
题目
P1039 最小差距
语言
C++
递交时间
2017-09-15 17:05:41
评测时间
2017-09-15 17:05:41
评测机
分数
10
总耗时
22ms
峰值内存
324.0 KiB