/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define fo(i,j,k) for (int i=(j);i<=(k);i++)
                   ^
/in/foo.cc:36:3: note: in expansion of macro 'fo'
   fo(i,0,2*n-1) printf("%d ",ans[i]+1);printf("\n");
   ^~
/in/foo.cc:36:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   fo(i,0,2*n-1) printf("%d ",ans[i]+1);printf("\n");
                                        ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.34 MiB
#2 Accepted 4ms 4.25 MiB
#3 Accepted 5ms 4.371 MiB
#4 Accepted 28ms 3.0 MiB
#5 Accepted 37ms 4.875 MiB
#6 Accepted 39ms 4.625 MiB
#7 Accepted 48ms 6.375 MiB
#8 Accepted 46ms 4.625 MiB
#9 Accepted 44ms 4.98 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2018-09-06 21:29:15
评测时间
2018-09-06 21:29:15
评测机
分数
90
总耗时
258ms
峰值内存
6.375 MiB