| Problem | blueredperm |
|---|---|
| User | AndyChen |
| Submission Time | 2026-11-11 11:49:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
blueredperm.cpp: In function ‘int main()’:
blueredperm.cpp:12:35: error: template argument 1 is invalid
12 | vector<pair<int, char> a(n);
| ^
blueredperm.cpp:12:35: error: template argument 2 is invalid
blueredperm.cpp:14:20: error: ‘a’ was not declared in this scope
14 | cin >> a[i].first;
| ^
blueredperm.cpp:17:20: error: ‘a’ was not declared in this scope
17 | cin >> a[i].second;
| ^
blueredperm.cpp:19:14: error: ‘a’ was not declared in this scope
19 | sort(a.begin(), a.end());
| ^