| Problem | competition |
|---|---|
| User | GanJaeHan |
| Submission Time | 2026-02-19 18:44:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:18:12: error: request for member ‘begin’ in ‘diff’, which is of non-class type ‘int [n]’
18 | sort(diff.begin(), diff.end(), greater<int>());
| ^~~~~
competition.cpp:18:26: error: request for member ‘end’ in ‘diff’, which is of non-class type ‘int [n]’
18 | sort(diff.begin(), diff.end(), greater<int>());
| ^~~
competition.cpp:19:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 | for (int i = 0; i < a; i++){
| ^