teams.cpp: In constructor 'Event::Event(int, int, std::pair<int, int>)':
teams.cpp:20:5: warning: declaration of 'info' shadows a member of 'Event' [-Wshadow]
20 | {
| ^
teams.cpp:16:21: note: shadowed declaration is here
16 | pair <int, int> info;
| ^~~~
teams.cpp:20:5: warning: declaration of 'pos' shadows a member of 'Event' [-Wshadow]
20 | {
| ^
teams.cpp:14:9: note: shadowed declaration is here
14 | int pos;
| ^~~
teams.cpp:20:5: warning: declaration of 'type' shadows a member of 'Event' [-Wshadow]
20 | {
| ^
teams.cpp:13:9: note: shadowed declaration is here
13 | int type;
| ^~~~
teams.cpp: In constructor 'Event::Event(int, int, std::pair<int, int>)':
teams.cpp:25:5: warning: declaration of 'info' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:16:21: note: shadowed declaration is here
16 | pair <int, int> info;
| ^~~~
teams.cpp:25:5: warning: declaration of 'pos' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:14:9: note: shadowed declaration is here
14 | int pos;
| ^~~
teams.cpp:25:5: warning: declaration of 'type' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:13:9: note: shadowed declaration is here
13 | int type;
| ^~~~
teams.cpp: In constructor 'Event::Event(int, int, std::pair<int, int>)':
teams.cpp:25:5: warning: declaration of 'info' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:16:21: note: shadowed declaration is here
16 | pair <int, int> info;
| ^~~~
teams.cpp:25:5: warning: declaration of 'pos' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:14:9: note: shadowed declaration is here
14 | int pos;
| ^~~
teams.cpp:25:5: warning: declaration of 'type' shadows a member of 'Event' [-Wshadow]
25 | }
| ^
teams.cpp:13:9: note: shadowed declaration is here
13 | int type;
| ^~~~
teams.cpp: In function 'int can(int, int*)':
teams.cpp:70:24: warning: comparison of integer expressions of different signedness: 'std::multiset<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
70 | if(s.size()<e.info.first) return 0;
| ~~~~~~~~^~~~~~~~~~~~~