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:58:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
58 | inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}
| ^
foo.cc:58:20: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:58:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:58:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:59:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
59 | inline void putchar(char c){*S++=c;if(S==T)flush();}
| ^
foo.cc:59:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:59:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:59:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:60:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
60 | struct NTR{~NTR(){flush();}}ztr;
| ^
foo.cc:60:18: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:60:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:60:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:64:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
64 | template<typename T>Reader&operator>>(T&x){
| ^
foo.cc:64:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:64:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:64:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:72:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
72 | Reader&operator>>(double&x){
| ^
foo.cc:72:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:72:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:72:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:80:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
80 | Reader&operator>>(long double&x){
| ^
foo.cc:80:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:80:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:80:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:88:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
88 | Reader&operator>>(__float128&x){
| ^
foo.cc:88:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:88:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:88:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:96:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
96 | Reader&operator>>(char&c){
| ^
foo.cc:96:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:96:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:96:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:100:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
100 | Reader&operator>>(char*str){
| ^
foo.cc:100:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:100:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:100:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:106:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
106 | Reader&operator>>(string&str){
| ^
foo.cc:106:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:106:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:106:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:112:54: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
112 | template<class _Tp>Reader&operator>>(vector<_Tp>&vec){for(unsigned i=0;i<vec.size();i++)cin>>vec[i];return*this;}
| ^
foo.cc:112:54: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:112:54: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:112:54: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:113:64: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
113 | template<class _Tp,class _tp>Reader&operator>>(pair<_Tp,_tp>&a){cin>>a.first>>a.second;return*this;}
| ^
foo.cc:113:64: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:113:64: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:113:64: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:114:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
114 | Reader(){}
| ^
foo.cc:114:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:114:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:114:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(double&)':
foo.cc:78:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
78 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:78:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
78 | 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:86:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
86 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:86:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
86 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^
foo.cc: In member function 'Fastio::Reader& Fastio::Reader::operator>>(__float128&)':
foo.cc:94:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
94 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^~~~~
foo.cc:94:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
94 | while(s--)t/=10.0;x=(x+t)*f;return*this;
| ^
foo.cc: At global scope:
foo.cc:120:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
120 | template<typename T>Writer&operator<<(T x){
| ^
foo.cc:120:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:120:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:120:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:128:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
128 | Writer&operator<<(double x){
| ^
foo.cc:128:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:128:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:128:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:139:33: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
139 | Writer&operator<<(long double x){
| ^
foo.cc:139:33: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:139:33: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:139:33: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:150:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
150 | Writer&operator<<(__float128 x){
| ^
foo.cc:150:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:150:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:150:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:161:26: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
161 | Writer&operator<<(char c){putchar(c);return*this;}
| ^
foo.cc:161:26: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:161:26: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:161:26: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:162:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
162 | Writer& operator<<(char*str){
| ^
foo.cc:162:29: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:162:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:162:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:166:34: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
166 | Writer&operator<<(const char*str){
| ^
foo.cc:166:34: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:166:34: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:166:34: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:170:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
170 | Writer&operator<<(string str){
| ^
foo.cc:170:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:170:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:170:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:175:53: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
175 | 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:175:53: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:175:53: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:175:53: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:176:63: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
176 | template<class _Tp,class _tp>Writer&operator<<(pair<_Tp,_tp>a){cout<<a.first<<" "<<a.second;return*this;}
| ^
foo.cc:176:63: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:176:63: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:176:63: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:177:9: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
177 | Writer(){}
| ^
foo.cc:177:9: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:177:9: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:177:9: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(double)':
foo.cc:131:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
131 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:131:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
131 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:132:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
132 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:132:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
132 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(long double)':
foo.cc:142:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
142 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:142:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
142 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:143:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
143 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:143:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
143 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: In member function 'Fastio::Writer& Fastio::Writer::operator<<(__float128)':
foo.cc:153:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
153 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~~~~
foo.cc:153:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
153 | while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');
| ^~
foo.cc:154:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
154 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~
foo.cc:154:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
154 | while(top)putchar(sta[top]+'0'),--top;putchar('.');
| ^~~~~~~
foo.cc: At global scope:
foo.cc:189:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
189 | void set(int x) //建立x*x的单位矩阵
| ^
foo.cc:189:16: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:189:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:189:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:197:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
197 | void clear() //矩阵初始化
| ^
foo.cc:197:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:197:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:197:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:204:35: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
204 | matrix operator*(matrix x,matrix y) //重载运算符
| ^
foo.cc:204:35: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:204:35: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:204:35: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:219:31: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
219 | matrix operator^(matrix x,LL k) //需要矩阵乘法
| ^
foo.cc:219:31: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:219:31: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:219:31: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:230:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
230 | int findp(int x){
| ^
foo.cc:230:16: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:230:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:230:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:236:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
236 | void unite(int x,int y){
| ^
foo.cc:236:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:236:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:236:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:241:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
241 | signed main(){
| ^
foo.cc:241:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:241:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:241:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务