/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:5: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:32:5: note: in expansion of macro 'go'
     go(i,rock[m],rock[m]+T)
     ^~
/in/foo.cc:34:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  end:cout<<ans;
  ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 500.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 3ms 360.0 KiB
#4 Accepted 3ms 512.0 KiB
#5 Accepted 3ms 492.0 KiB
#6 Accepted 3ms 464.0 KiB
#7 Accepted 3ms 480.0 KiB
#8 Accepted 3ms 500.0 KiB
#9 Accepted 3ms 480.0 KiB
#10 Accepted 3ms 368.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2017-10-13 21:45:08
评测时间
2017-10-13 21:45:08
评测机
分数
100
总耗时
35ms
峰值内存
512.0 KiB