Problem | ballgame |
---|---|
User | jeongwonho64 |
Submission Time | 2023-08-01 15:06:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ballgame.cpp: In function ‘int ballgame(int, int, int, int*, int*)’:
ballgame.cpp:56:5: error: ‘vector’ was not declared in this scope
56 | vector<pi> students;
| ^~~~~~
ballgame.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include "ballgame.h"
+++ |+#include <vector>
2 | using namespace std;
ballgame.cpp:56:12: error: ‘pi’ was not declared in this scope
56 | vector<pi> students;
| ^~
ballgame.cpp:56:16: error: ‘students’ was not declared in this scope
56 | vector<pi> students;
| ^~~~~~~~
ballgame.cpp:60:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
60 | sort(students.begin(),students.end());
| ^~~~
| short
ballgame.cpp:62:22: error: ‘max’ was not declared in this scope
62 | root->update(max(