Problem | reverse |
---|---|
User | Roucy |
Submission Time | 2025-06-18 11:05:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reverse.cpp: In function ‘int main()’:
reverse.cpp:8:2: error: expected initializer before ‘cin’
8 | cin <<N;
| ^~~
reverse.cpp:10:2: error: expected initializer before ‘int’
10 | int a[N] = {1,2,3,4,5;
| ^~~
reverse.cpp:11:31: error: expected ‘}’ at end of input
11 | sort(a, a + 5, greater<int>());
| ^
reverse.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^