tri.cpp:33:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
33 | #pragma GCC optimize ("03,unroll-lopps")
| ^
tri.cpp:40:23: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
40 | void setIO(string name){
| ^
tri.cpp:45:21: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
45 | bool cmp(int a,int b){
| ^
tri.cpp:48:22: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
48 | bool cmp2(int a,int b){
| ^
tri.cpp:51:14: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
51 | int32_t main(){
| ^
tri.cpp: In function 'int32_t main()':
tri.cpp:22:11: error: 'second' was not declared in this scope
22 | #define s second
| ^~~~~~
tri.cpp:68:71: note: in expansion of macro 's'
68 | if(st[st.size()-2]==i||st[st.size()-1]==i||st[s.size()-2]==st.back()){
| ^
tri.cpp:22:11: error: 'second' was not declared in this scope
22 | #define s second
| ^~~~~~
tri.cpp:80:71: note: in expansion of macro 's'
80 | if(st[st.size()-2]==i||st[st.size()-1]==i||st[s.size()-2]==st.back()){
| ^
tri.cpp: In function 'void setIO(std::string)':
tri.cpp:42:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | freopen((name+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tri.cpp:43:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | freopen((name+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~