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