Problem | xmas |
---|---|
User | Priyankha13 |
Submission Time | 2023-11-08 13:30:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
xmas.cpp: In function ‘int main()’:
xmas.cpp:3:13: error: template argument 1 is invalid
3 | #define pii pair<int, int>;
| ^~~~~~~~~~~~~~
xmas.cpp:9:12: note: in expansion of macro ‘pii’
9 | vector<pii> xmas;
| ^~~
xmas.cpp:3:13: error: template argument 2 is invalid
3 | #define pii pair<int, int>;
| ^~~~~~~~~~~~~~
xmas.cpp:9:12: note: in expansion of macro ‘pii’
9 | vector<pii> xmas;
| ^~~
xmas.cpp:9:15: error: expected primary-expression before ‘>’ token
9 | vector<pii> xmas;
| ^
xmas.cpp:9:17: error: ‘xmas’ was not declared in this scope
9 | vector<pii> xmas;
| ^~~~
xmas.cpp:12:16: error: ‘x’ was not declared in this scope
12 | cin >> x;
| ^
xmas.cpp:19:24: error: request for member ‘second’ i