/ 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 133ms 37.617 MiB
#2 Accepted 90ms 19.992 MiB
#3 Accepted 33ms 8.617 MiB
#4 Accepted 85ms 55.246 MiB
#5 Accepted 112ms 31.992 MiB

信息

递交者
类型
递交
题目
P1027 Mission 2 - C : The Correct Key
比赛
AOCode Round #3 & AOSC #2
语言
C++
递交时间
2022-02-06 19:09:57
评测时间
2022-02-06 19:09:57
评测机
分数
100
总耗时
456ms
峰值内存
55.246 MiB