treearray.cpp: In function 'void solve()':
treearray.cpp:133:40: error: expected primary-expression before '<' token
133 | if(mp[k][*it]>=2 && it*<b1) cout<<*it<<' '<<*it+1<<endl;
| ^
treearray.cpp:69:23: warning: unused variable 'j' [-Wunused-variable]
69 | ll n,m,b,b1,k,i,q,j,mx=-1;
| ^
treearray.cpp:69:25: warning: unused variable 'mx' [-Wunused-variable]
69 | ll n,m,b,b1,k,i,q,j,mx=-1;
| ^~
treearray.cpp: At global scope:
treearray.cpp:140:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
140 | main(){
| ^~~~
treearray.cpp: In function 'void fre(std::string)':
treearray.cpp:16:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | void fre(string n){freopen((n+".in").c_str(),"r",stdin);freopen((n+".out").c_str(),"w",stdin);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
treearray.cpp:16:64: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | void fre(string n){freopen((n+".in").c_str(),"r",stdin);freopen((n+".out").c_str(),"w",stdin);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~