/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
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)
      |                   ^~~
foo.cc:54:5: note: in expansion of macro ‘fp’
   54 |     fp(i,1,n)ins(i);gf();
      |     ^~
foo.cc:54:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   54 |     fp(i,1,n)ins(i);gf();
      |                     ^~
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)
      |                   ^~~
foo.cc:56:9: note: in expansion of macro ‘fp’
   56 |         fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
      |         ^~
foo.cc:56:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   56 |         fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
      |                                              ^
# 状态 耗时 内存占用
#1 Wrong Answer On line 1: Read (EOF), expect 0.3750000000. 2ms 512.0 KiB
#2 Wrong Answer On line 1: Read (EOF), expect 0.4285714286. 2ms 768.0 KiB
#3 Wrong Answer On line 1: Read (EOF), expect 0.0769108654. 2ms 512.0 KiB
#4 Wrong Answer On line 1: Read (EOF), expect 0.0762085174. 1ms 512.0 KiB
#5 Wrong Answer On line 1: Read (EOF), expect 0.0585861004. 2ms 512.0 KiB
#6 Wrong Answer On line 1: Read (EOF), expect 0.0044894372. 2ms 508.0 KiB
#7 Wrong Answer On line 1: Read (EOF), expect 0.5079365079. 2ms 760.0 KiB
#8 Wrong Answer On line 1: Read (EOF), expect 0.0044591480. 2ms 508.0 KiB
#9 Wrong Answer On line 1: Read (EOF), expect 0.0038019124. 2ms 508.0 KiB
#10 Wrong Answer On line 1: Read (EOF), expect 0.0021516650. 2ms 512.0 KiB

信息

递交者
类型
递交
题目
P2017 硬币游戏
语言
C++
递交时间
2026-10-05 10:03:04
评测时间
2026-10-14 04:34:48
评测机
分数
0
总耗时
24ms
峰值内存
768.0 KiB