/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define fo(i,a,b) for(int i=a;i<=b;i++)
                   ^
/in/foo.cc:24:2: note: in expansion of macro 'fo'
  fo(i,1,n) f[i]=i;t=n;
  ^~
/in/foo.cc:24:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  fo(i,1,n) f[i]=i;t=n;
                   ^
# 状态 耗时 内存占用
#1 Accepted 4ms 348.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 3ms 344.0 KiB
#4 Accepted 2ms 352.0 KiB
#5 Accepted 4ms 380.0 KiB
#6 Accepted 3ms 356.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 5ms 368.0 KiB
#10 Accepted 5ms 364.0 KiB

信息

递交者
类型
递交
题目
P1789 String
语言
C++
递交时间
2018-08-28 00:20:07
评测时间
2018-08-28 00:20:07
评测机
分数
100
总耗时
40ms
峰值内存
384.0 KiB