naan.cpp:16:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
16 | #pragma GCC optimize ("03,unroll-lopps")
| ^
naan.cpp:23:23: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
23 | void setIO(string name){
| ^
naan.cpp:29:32: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
29 | void gcd2(__int128 x,__int128 y){
| ^
naan.cpp:41:21: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
41 | void reduce(){
| ^
naan.cpp:48:36: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
48 | void operator-=(fraction &o){
| ^
naan.cpp:57:36: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
57 | void operator+=(fraction &o){
| ^
naan.cpp:66:39: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
66 | fraction operator+(fraction &o){
| ^
naan.cpp:72:39: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
72 | fraction operator-(fraction &o){
| ^
naan.cpp:78:39: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
78 | fraction operator/(fraction &o){
| ^
naan.cpp:84:39: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
84 | fraction operator*(fraction &o){
| ^
naan.cpp:90:29: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
90 | int cmp(fraction &y)const{
| ^~~~~
naan.cpp:95:37: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
95 | bool operator<=(fraction &o)const{return cmp(o)<=0;}
| ^~~~~
naan.cpp:96:36: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
96 | bool operator<(fraction &o)const{return cmp(o)<0;}
| ^~~~~
naan.cpp:97:37: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
97 | bool operator==(fraction &o)const{return cmp(o)==0;}
| ^~~~~
naan.cpp:98:37: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
98 | bool operator>=(fraction &o)const{return cmp(o)>=0;}
| ^~~~~
naan.cpp:105:14: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
105 | int32_t main(){
| ^
naan.cpp: In function 'void setIO(std::string)':
naan.cpp:25:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | freopen((name+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
naan.cpp:26:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | freopen((name+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~