/ Vijos /

记录详情

Accepted

/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 Accepted 3ms 440.0 KiB
#2 Accepted 2ms 448.0 KiB
#3 Accepted 2ms 312.0 KiB
#4 Accepted 1ms 448.0 KiB
#5 Accepted 1ms 444.0 KiB
#6 Accepted 1ms 448.0 KiB
#7 Accepted 1ms 440.0 KiB
#8 Accepted 1ms 444.0 KiB
#9 Accepted 1ms 444.0 KiB
#10 Accepted 1ms 316.0 KiB

信息

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