| Problem | potatosalad |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-03 13:22:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:12:6: error: ‘i’ was not declared in this scope
12 | for(i = 0; i < N; i++){
| ^
potatosalad.cpp:15:24: error: ‘n’ was not declared in this scope
15 | sort(array1, array1 + n, greater<int>());
| ^
potatosalad.cpp:16:6: error: ‘i’ was not declared in this scope
16 | for(i = 0; i < D; i++){
| ^