tabletennis.cpp: In function 'void print_ans(int)':
tabletennis.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=0;i<ans.size();i++){printf("%d%c",ans[i],' ');}
| ~^~~~~~~~~~~
tabletennis.cpp: In function 'void solve()':
tabletennis.cpp:40:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | scanf("%d",&n);scanf("%d",&m);set<int>st;
| ~~~~~^~~~~~~~~
tabletennis.cpp:40:25: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | scanf("%d",&n);scanf("%d",&m);set<int>st;
| ~~~~~^~~~~~~~~
tabletennis.cpp:41:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | for(int i=1;i<=n+m;i++){scanf("%d",&a[i]);}
| ~~~~~^~~~~~~~~~~~