tabletennis.cpp: In function 'bool can(int, int, int, int)':
tabletennis.cpp:11:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if (lb!=stuff.size() && stuff[lb]==tot-stuff[l]){
| ~~^~~~~~~~~~~~~~
tabletennis.cpp: In function 'int main()':
tabletennis.cpp:39:23: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if (ans.size()==n) break;
| ~~~~~~~~~~^~~
tabletennis.cpp:41:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if (lb!=stuff.size() && stuff[lb]==foundtot-stuff[x]){
| ~~^~~~~~~~~~~~~~
tabletennis.cpp:21:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | scanf("%d%d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~
tabletennis.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d",&t);
| ~~~~~^~~~~~~~~