Problem flamethrower
User ultbiaslia
Submission Time 2023-11-09 13:17:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int32_t main()’:
flamethrower.cpp:7:25: error: ‘trees’ was not declared in this scope
7 | int td = 1 <= td <= trees <= 1000;
| ^~~~~
flamethrower.cpp:12:16: error: ‘arr’ was not declared in this scope
12 | cin >> arr[i];
| ^~~
flamethrower.cpp:15:10: error: ‘arr’ was not declared in this scope
15 | sort(arr, arr + trees, greater<int>());
| ^~~