| Problem | ballot |
|---|---|
| User | Jasper123 |
| Submission Time | 2026-04-25 11:44:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
ballot.cpp: In function ‘int main()’:
ballot.cpp:16:5: error: ‘set’ was not declared in this scope
16 | set<pair<int, int>> ballots;
| ^~~
ballot.cpp:3:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
2 | #include <queue>
+++ |+#include <set>
3 | #include <vector>
ballot.cpp:16:22: error: expected primary-expression before ‘>’ token
16 | set<pair<int, int>> ballots;
| ^~
ballot.cpp:16:25: error: ‘ballots’ was not declared in this scope
16 | set<pair<int, int>> ballots;
| ^~~~~~~
ballot.cpp:22:19: error: ‘C’ was not declared in this scope
22 | for(int c=0;c<C;c++){
| ^
ballot.cpp:28:32: error: ‘X’ was not declared in this scope
28 | auto it = ballots.l