/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:2:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    2 | #define fp(i,a,b) for(register int i=a,I=b+1;i<I;++i)
      |                   ^~~
/in/foo.cc:51:5: note: in expansion of macro 'fp'
   51 |     fp(i,1,n)ins(i);gf();
      |     ^~
/in/foo.cc:51:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   51 |     fp(i,1,n)ins(i);gf();
      |                     ^~
/in/foo.cc:2:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    2 | #define fp(i,a,b) for(register int i=a,I=b+1;i<I;++i)
      |                   ^~~
/in/foo.cc:53:9: note: in expansion of macro 'fp'
   53 |         fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
      |         ^~
/in/foo.cc:53:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   53 |         fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
      |                                              ^
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 2ms 544.0 KiB
#3 Accepted 2ms 532.0 KiB
#4 Accepted 2ms 552.0 KiB
#5 Accepted 2ms 560.0 KiB
#6 Accepted 2ms 528.0 KiB
#7 Accepted 7ms 3.137 MiB
#8 Accepted 8ms 3.344 MiB
#9 Accepted 8ms 3.301 MiB
#10 Accepted 8ms 3.371 MiB

信息

递交者
类型
递交
题目
P2017 硬币游戏
语言
C++
递交时间
2025-06-09 20:08:25
评测时间
2025-06-09 20:08:25
评测机
分数
100
总耗时
47ms
峰值内存
3.371 MiB