Problem | cny |
---|---|
User | Josh28 |
Submission Time | 2023-02-02 10:57:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cny.cpp: In function ‘ll solve()’:
cny.cpp:76:43: error: expected ‘]’ before ‘}’ token
76 | for (ll q = 0; q < n; q++) {cin >> arr[q};}
| ^
| ]
cny.cpp:76:43: error: expected ‘;’ before ‘}’ token
76 | for (ll q = 0; q < n; q++) {cin >> arr[q};}
| ^
| ;
cny.cpp: At global scope:
cny.cpp:77:7: error: expected constructor, destructor, or type conversion before ‘(’ token
77 | sort(arr, arr+n); reverse(arr, arr+n);
| ^
cny.cpp:77:28: error: expected constructor, destructor, or type conversion before ‘(’ token
77 | sort(arr, arr+n); reverse(arr, arr+n);
| ^
cny.cpp:78:3: error: expected unqualified-id before ‘for’
78 | for (ll q = 0; q < n; q++) {
| ^~~