Problem | ballot |
---|---|
User | YSH2020 |
Submission Time | 2025-01-17 15:09:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ballot.cpp:3:2: error: invalid preprocessing directive #typedef
3 | #typedef ll int
| ^~~~~~~
ballot.cpp: In function ‘int main()’:
ballot.cpp:6:5: error: ‘ll’ was not declared in this scope
6 | ll a, b; cin >> a >> b;
| ^~
ballot.cpp:6:21: error: ‘a’ was not declared in this scope
6 | ll a, b; cin >> a >> b;
| ^
ballot.cpp:6:26: error: ‘b’ was not declared in this scope
6 | ll a, b; cin >> a >> b;
| ^
ballot.cpp:7:22: error: template argument 1 is invalid
7 | set <pair <ll, ll>> ballot;
| ^~
ballot.cpp:7:22: error: template argument 2 is invalid
ballot.cpp:7:22: error: template argument 3 is invalid
ballot.cpp:8:12: error: expected ‘;’ before ‘i’
8 | for (ll i = 0; i < a; i++) {
| ^~
| ;
ballot