/ AOCode /

记录详情

Wrong Answer

foo.cc:23:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
   23 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
foo.cc:30:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
   30 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
foo.cc:32:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
   32 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
foo.cc:46:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
   46 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
foo.cc:53:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   53 |  inline char getchar(){if(S==T){T=(S=buf)+
      |                      ^
foo.cc:53:22: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:53:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:53:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:59:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   59 |  inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}
      |                    ^
foo.cc:59:20: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:59:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:59:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:60:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   60 |  inline void putchar(char c){*S++=c;if(S==T)flush();}
      |                            ^
foo.cc:60:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:60:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:60:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:61:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   61 |  struct NTR{~NTR(){flush();}}ztr;
      |                  ^
foo.cc:61:18: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:61:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:61:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:65:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   65 |  template<typename T>Reader&operator>>(T&x){
      |                                           ^
foo.cc:65:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:65:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:65:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:73:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   73 |  Reader&operator>>(double&x){
      |                            ^
foo.cc:73:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:73:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:73:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:81:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   81 |  Reader&operator>>(long double&x){
      |                                 ^
foo.cc:81:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:81:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:81:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:89:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   89 |  Reader&operator>>(__float128&x){
      |                                ^
foo.cc:89:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:89:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:89:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:97:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   97 |  Reader&operator>>(char&c){
      |                          ^
foo.cc:97:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:97:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:97:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:101:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  101 |  Reader&operator>>(char*str){
      |                            ^
foo.cc:101:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:101:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:101:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:107:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  107 |  Reader&operator>>(string&str){
      |                              ^
foo.cc:107:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:107:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:107:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:113:54: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  113 |  template<class _Tp>Reader&operator>>(vector<_Tp>&vec){for(unsigned i=0;i<vec.size();i++)cin>>vec[i];return*this;}
      |                                                      ^
foo.cc:113:54: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:113:54: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:113:54: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:114:64: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  114 |  template<class _Tp,class _tp>Reader&operator>>(pair<_Tp,_tp>&a){cin>>a.first>>a.second;return*this;}
      |                                                                ^
foo.cc:114:64: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:114:64: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:114:64: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:115:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  115 |  Reader(){}
      |         ^
foo.cc:115:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:115:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:115:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(double&)':
foo.cc:79:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   79 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:79:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   79 |   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:87:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   87 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:87:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   87 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |                     ^
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(__float128&)':
foo.cc:95:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   95 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |   ^~~~~
foo.cc:95:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   95 |   while(s--)t/=10.0;x=(x+t)*f;return*this;
      |                     ^
foo.cc: At global scope:
foo.cc:121:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  121 |  template<typename T>Writer&operator<<(T x){
      |                                           ^
foo.cc:121:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:121:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:121:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:129:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  129 |  Writer&operator<<(double x){
      |                            ^
foo.cc:129:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:129:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:129:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:140:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  140 |  Writer&operator<<(long double x){
      |                                 ^
foo.cc:140:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:140:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:140:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:151:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  151 |  Writer&operator<<(__float128 x){
      |                                ^
foo.cc:151:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:151:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:151:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:162:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  162 |  Writer&operator<<(char c){putchar(c);return*this;}
      |                          ^
foo.cc:162:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:162:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:162:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:163:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  163 |  Writer& operator<<(char*str){
      |                             ^
foo.cc:163:29: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:163:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:163:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:167:34: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  167 |  Writer&operator<<(const char*str){
      |                                  ^
foo.cc:167:34: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:167:34: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:167:34: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:171:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  171 |  Writer&operator<<(string str){
      |                              ^
foo.cc:171:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:171:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:171:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:176:53: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  176 |  template<class _Tp>Writer&operator<<(vector<_Tp>vec){for(unsigned i=0;i<vec.size()-1;i++)cout<<vec[i]<<" ";cout<<vec[vec.size()-1];return*this;}
      |                                                     ^
foo.cc:176:53: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:176:53: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:176:53: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:177:63: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  177 |  template<class _Tp,class _tp>Writer&operator<<(pair<_Tp,_tp>a){cout<<a.first<<" "<<a.second;return*this;}
      |                                                               ^
foo.cc:177:63: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:177:63: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:177:63: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:178:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  178 |  Writer(){}
      |         ^
foo.cc:178:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:178:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:178:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(double)':
foo.cc:132:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  132 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:132:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  132 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:133:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  133 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:133:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  133 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(long double)':
foo.cc:143:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  143 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:143:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  143 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:144:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  144 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:144:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  144 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(__float128)':
foo.cc:154:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  154 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |   ^~~~~
foo.cc:154:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  154 |   while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
      |                                 ^~
foo.cc:155:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  155 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |   ^~~~~
foo.cc:155:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  155 |   while(top)putchar(sta[top]+'0'),--top;putchar('.');
      |                                         ^~~~~~~
foo.cc: At global scope:
foo.cc:194:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  194 | signed main(){
      |             ^
foo.cc:194:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:194:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:194:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#6 Wrong Answer User output longer than standard answer. 4ms 384.0 KiB
#7 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#8 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#9 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1042 Tokens re-collection
比赛
AOCode Round #4
语言
C++
递交时间
2022-04-29 20:07:12
评测时间
2022-04-29 20:07:12
评测机
分数
10
总耗时
25ms
峰值内存
384.0 KiB