foo.cc:22:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
22 | #pragma GCC optimize("-fwhole-program")
| ^
foo.cc:29:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
29 | #pragma GCC optimize("-fstrict-overflow")
| ^
foo.cc:31:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
31 | #pragma GCC optimize("-fcse-skip-blocks")
| ^
foo.cc:44:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
44 | #pragma GCC optimize("-funsafe-loop-optimizations")
| ^
foo.cc:61:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
61 | void set(int x) //建立x*x的单位矩阵
| ^
foo.cc:61:16: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:61:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:61:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:69:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
69 | void clear() //矩阵初始化
| ^
foo.cc:69:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:69:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:69:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:76:35: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
76 | matrix operator*(matrix x,matrix y) //重载运算符
| ^
foo.cc:76:35: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:76:35: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:76:35: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:91:31: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
91 | matrix operator^(matrix x,LL k) //需要矩阵乘法
| ^
foo.cc:91:31: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:91:31: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:91:31: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:104:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
104 | inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}
| ^
foo.cc:104:20: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:104:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:104:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:105:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
105 | inline void putchar(char c){*S++=c;if(S==T)flush();}
| ^
foo.cc:105:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:105:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:105:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:106:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
106 | struct NTR{~NTR(){flush();}}ztr;
| ^
foo.cc:106:18: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:106:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:106:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:110:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
110 | template<typename T>Reader&operator>>(T&x){
| ^
foo.cc:110:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:110:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:110:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:118:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
118 | Reader&operator>>(double&x){
| ^
foo.cc:118:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:118:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:118:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:126:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
126 | Reader&operator>>(long double&x){
| ^
foo.cc:126:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:126:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:126:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:134:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
134 | Reader&operator>>(__float128&x){
| ^
foo.cc:134:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:134:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:134:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:142:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
142 | Reader&operator>>(char&c){
| ^
foo.cc:142:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:142:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:142:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:146:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
146 | Reader&operator>>(char*str){
| ^
foo.cc:146:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:146:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:146:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:152:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
152 | Reader&operator>>(string&str){
| ^
foo.cc:152:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:152:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:152:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:158:54: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
158 | template<class _Tp>Reader&operator>>(vector<_Tp>&vec){for(unsigned i=0;i<vec.size();i++)cin>>vec[i];return*this;}
| ^
foo.cc:158:54: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:158:54: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:158:54: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:159:64: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
159 | template<class _Tp,class _tp>Reader&operator>>(pair<_Tp,_tp>&a){cin>>a.first>>a.second;return*this;}
| ^
foo.cc:159:64: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:159:64: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:159:64: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:160:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
160 | Reader(){}
| ^
foo.cc:160:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:160:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:160:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(double&)':
foo.cc:124:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
124 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:124:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
124 | 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:132:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
132 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:132:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
132 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(__float128&)':
foo.cc:140:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
140 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:140:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
140 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^
foo.cc: At global scope:
foo.cc:166:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
166 | template<typename T>Writer&operator<<(T x){
| ^
foo.cc:166:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:166:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:166:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:174:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
174 | Writer&operator<<(double x){
| ^
foo.cc:174:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:174:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:174:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:185:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
185 | Writer&operator<<(long double x){
| ^
foo.cc:185:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:185:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:185:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:196:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
196 | Writer&operator<<(__float128 x){
| ^
foo.cc:196:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:196:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:196:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:207:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
207 | Writer&operator<<(char c){putchar(c);return*this;}
| ^
foo.cc:207:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:207:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:207:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:208:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
208 | Writer& operator<<(char*str){
| ^
foo.cc:208:29: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:208:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:208:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:212:34: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
212 | Writer&operator<<(const char*str){
| ^
foo.cc:212:34: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:212:34: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:212:34: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:216:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
216 | Writer&operator<<(string str){
| ^
foo.cc:216:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:216:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:216:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:221:53: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
221 | 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:221:53: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:221:53: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:221:53: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:222:63: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
222 | template<class _Tp,class _tp>Writer&operator<<(pair<_Tp,_tp>a){cout<<a.first<<" "<<a.second;return*this;}
| ^
foo.cc:222:63: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:222:63: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:222:63: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:223:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
223 | Writer(){}
| ^
foo.cc:223:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:223:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:223:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(double)':
foo.cc:177:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
177 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:177:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
177 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:178:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
178 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:178:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
178 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(long double)':
foo.cc:188:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
188 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:188:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
188 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:189:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
189 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:189:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
189 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(__float128)':
foo.cc:199:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
199 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:199:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
199 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:200:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
200 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:200:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
200 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: At global scope:
foo.cc:230:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
230 | void sol()
| ^
foo.cc:230:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:230:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:230:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:249:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
249 | signed main(){
| ^
foo.cc:249:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:249:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:249:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务