/ Vijos /

记录详情

Accepted

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 14ms 5.996 MiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 16ms 6.125 MiB
#4 Accepted 13ms 6.0 MiB
#5 Accepted 8ms 6.0 MiB
#6 Accepted 14ms 6.0 MiB
#7 Accepted 13ms 6.0 MiB
#8 Accepted 15ms 6.0 MiB
#9 Accepted 14ms 6.0 MiB
#10 Accepted 13ms 6.0 MiB

信息

递交者
类型
递交
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2022-06-08 11:27:41
评测时间
2022-06-08 11:27:41
评测机
分数
100
总耗时
129ms
峰值内存
6.125 MiB