/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define go(i,a,b) for(int i=a;i<=b;i++)
                   ^
/in/foo.cc:15:2: note: in expansion of macro 'go'
  go(i, rock[m], rock[m] + T)ans = min(ans, f[i]);end:printf("%d\n", ans);return 0;
  ^~
/in/foo.cc:15:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  go(i, rock[m], rock[m] + T)ans = min(ans, f[i]);end:printf("%d\n", ans);return 0;
                                                  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 316.0 KiB
#2 Wrong Answer 2ms 320.0 KiB
#3 Wrong Answer 2ms 316.0 KiB
#4 Wrong Answer 1ms 320.0 KiB
#5 Wrong Answer 1ms 312.0 KiB
#6 Wrong Answer 1ms 324.0 KiB
#7 Wrong Answer 1ms 316.0 KiB
#8 Wrong Answer 1ms 320.0 KiB
#9 Wrong Answer 1ms 456.0 KiB
#10 Wrong Answer 1ms 312.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2017-09-13 16:15:12
评测时间
2017-09-13 16:15:12
评测机
分数
0
总耗时
19ms
峰值内存
456.0 KiB