Problem flamethrower
User o1lim
Submission Time 2024-05-28 22:33:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:34: error: expected ‘;’ before ‘for’
12 | sort(arr, arr+a, greater<int>())
| ^
| ;
13 | for (int i=0; i<b; i++) {
| ~~~
flamethrower.cpp:13:16: error: ‘i’ was not declared in this scope
13 | for (int i=0; i<b; i++) {
| ^