/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'long long int IO_BUFF::inn()':
foo.cc:48:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   48 |      while((ch=gc())>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^'0');return x*s;
      |      ^~~~~
foo.cc:48:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   48 |      while((ch=gc())>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^'0');return x*s;
      |                                                              ^~~~~~
foo.cc: In function 'long long int IO_BUFF::print(long long int)':
foo.cc:54:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   54 |   if(!x) ssss[++ssl]='0';for(ttl=0;x;x/=10) tttt[++ttl]=char(x%10+'0');
      |   ^~
foo.cc:54:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   54 |   if(!x) ssss[++ssl]='0';for(ttl=0;x;x/=10) tttt[++ttl]=char(x%10+'0');
      |                          ^~~
foo.cc:55:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   55 |         for(;ttl;ttl--) ssss[++ssl]=tttt[ttl];return ssss[++ssl]='\n';
      |         ^~~
foo.cc:55:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   55 |         for(;ttl;ttl--) ssss[++ssl]=tttt[ttl];return ssss[++ssl]='\n';
      |                                               ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 6.0 MiB
#2 Accepted 4ms 384.0 KiB
#3 Wrong Answer Read 0, expect 88. 10ms 6.0 MiB
#4 Accepted 7ms 6.0 MiB
#5 Accepted 8ms 6.0 MiB
#6 Accepted 8ms 6.0 MiB
#7 Accepted 8ms 6.0 MiB
#8 Accepted 8ms 6.0 MiB
#9 Accepted 9ms 6.0 MiB
#10 Accepted 8ms 6.0 MiB

信息

递交者
类型
递交
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2022-06-08 11:15:33
评测时间
2022-06-08 11:15:33
评测机
分数
90
总耗时
83ms
峰值内存
6.0 MiB