/ AOCode /

记录详情

Accepted

foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(double&)':
foo.cc:32:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   32 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:32:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   32 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |                     ^
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(long double&)':
foo.cc:40:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   40 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:40:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   40 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |                     ^
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(__float128&)':
foo.cc:48:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   48 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:48:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   48 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |                     ^
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(double)':
foo.cc:85:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   85 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:85:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   85 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:86:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   86 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:86:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   86 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(long double)':
foo.cc:96:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   96 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:96:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   96 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:97:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   97 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:97:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   97 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(__float128)':
foo.cc:107:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  107 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:107:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  107 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:108:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  108 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:108:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  108 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 7ms 2.625 MiB
#3 Accepted 16ms 3.375 MiB
#4 Accepted 5ms 1.625 MiB
#5 Accepted 3ms 768.0 KiB
#6 Accepted 2ms 768.0 KiB
#7 Accepted 8ms 2.375 MiB
#8 Accepted 5ms 2.0 MiB
#9 Accepted 5ms 1.625 MiB
#10 Accepted 13ms 3.25 MiB
#11 Accepted 4ms 1.25 MiB
#12 Accepted 14ms 3.125 MiB
#13 Accepted 10ms 1.75 MiB
#14 Accepted 9ms 3.125 MiB
#15 Accepted 3ms 896.0 KiB
#16 Accepted 12ms 2.25 MiB
#17 Accepted 3ms 768.0 KiB
#18 Accepted 4ms 896.0 KiB
#19 Accepted 5ms 1.375 MiB
#20 Accepted 6ms 1.75 MiB
#21 Accepted 8ms 3.0 MiB
#22 Accepted 7ms 2.5 MiB
#23 Accepted 10ms 3.125 MiB
#24 Accepted 15ms 3.0 MiB
#25 Accepted 13ms 1.875 MiB

信息

递交者
类型
递交
题目
P1024 Mission 2 - B1 : The Ques of the Guards 2 (EASY)
比赛
AOCode Round #3 & AOSC #2
语言
C++
递交时间
2022-02-06 18:19:28
评测时间
2022-02-06 18:19:28
评测机
分数
100
总耗时
200ms
峰值内存
3.375 MiB