| Problem | sorting2 |
|---|---|
| User | polyda |
| Submission Time | 2025-12-10 15:07:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:5:17: error: ‘n’ was not declared in this scope
5 | vector<int> a(n);
| ^
sorting2.cpp:9:26: error: ‘compare_difficulty’ was not declared in this scope
9 | sort(a.begin(),a.end(),compare_difficulty);
| ^~~~~~~~~~~~~~~~~~