tea.cpp: In function 'int main()':
tea.cpp:39:37: error: 'cur' was not declared in this scope
39 | team[tamteam].push_back(cur);
| ^~~
tea.cpp:44:40: error: 'cur' was not declared in this scope
44 | team.push_back(vector<int> (1, cur));
| ^~~
tea.cpp:34:13: warning: unused variable 'curkid' [-Wunused-variable]
34 | int curkid = kids[i].second;
| ^~~~~~
tea.cpp:52:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i = 0; i < team.size(); i++){
| ~~^~~~~~~~~~~~~
tea.cpp:55:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int j = 0; j < team[i].size(); j++) printf("%d ", team[i][j]);
| ~~^~~~~~~~~~~~~~~~
tea.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
tea.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d", &kids[i].first);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~