| Problem | swords |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-08-24 12:57:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:5:28: error: ‘n’ was not declared in this scope
5 | vector <pair<int, int>> a(n);
| ^
swords.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i = 0; i < n; i++) {
| ^
swords.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i = n - 1; i >= 0; i--) {
| ^