triangle.cpp: In function 'void solve()':
triangle.cpp:24:7: warning: unused variable 'xx' [-Wunused-variable]
24 | int xx, yx ;
| ^~
triangle.cpp:24:11: warning: unused variable 'yx' [-Wunused-variable]
24 | int xx, yx ;
| ^~
triangle.cpp: In function 'void fopn(std::string)':
triangle.cpp:5:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | void fopn(string name){freopen((name+".in").c_str(),"r",stdin); freopen((name+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.cpp:5:72: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | void fopn(string name){freopen((name+".in").c_str(),"r",stdin); freopen((name+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~