/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:3:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    3 | #define fp(i,a,b) for(R int i=(a),I=(b)+1;i<I;++i)
      |                   ^~~
foo.cc:39:2: note: in expansion of macro 'fp'
   39 |  fp(i,1,n)mp[n+1][i]=1;mp[n+1][n+2]=1;
      |  ^~
foo.cc:39:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   39 |  fp(i,1,n)mp[n+1][i]=1;mp[n+1][n+2]=1;
      |                        ^~
foo.cc:28:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   28 |  scanf("%d%d",&n,&m);
      |  ~~~~~^~~~~~~~~~~~~~
foo.cc:32:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   32 |   scanf("%s",s+1);
      |   ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.37500000, expect 0.3750000000. 5ms 384.0 KiB
#2 Wrong Answer Read 0.07691087, expect 0.0769108654. 2ms 384.0 KiB
#3 Wrong Answer Read 0.05858610, expect 0.0585861004. 2ms 384.0 KiB
#4 Wrong Answer Read 0.07620852, expect 0.0762085174. 2ms 384.0 KiB
#5 Wrong Answer Read 0.42857143, expect 0.4285714286. 2ms 384.0 KiB
#6 Wrong Answer Read 0.50793651, expect 0.5079365079. 2ms 384.0 KiB
#7 Wrong Answer Read 0.00448944, expect 0.0044894372. 182ms 1.242 MiB
#8 Wrong Answer Read 0.00380191, expect 0.0038019124. 220ms 1.367 MiB
#9 Wrong Answer Read 0.00445915, expect 0.0044591480. 189ms 1.242 MiB
#10 Wrong Answer Read 0.00215166, expect 0.0021516650. 195ms 1.367 MiB

信息

递交者
类型
递交
题目
P2017 硬币游戏
语言
C++
递交时间
2022-06-24 15:33:13
评测时间
2022-06-24 15:33:13
评测机
分数
0
总耗时
806ms
峰值内存
1.367 MiB