Problem | WA1 |
---|---|
User | Soysauce |
Submission Time | 2024-05-31 20:40:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
WA1.cpp: In function ‘int main()’:
WA1.cpp:12:28: error: ‘MAX_N’ was not declared in this scope
12 | pair<int, int> answers[MAX_N];
| ^~~~~
WA1.cpp:14:16: error: ‘answers’ was not declared in this scope
14 | cin >> answers[i].first >> answers[i].second;
| ^~~~~~~
WA1.cpp:17:10: error: ‘answers’ was not declared in this scope
17 | sort(answers, answers + n);
| ^~~~~~~