Problem globalwarming
User nguyendinhanh1508
Submission Time 2024-12-04 14:17:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int32_t main()’:
globalwarming.cpp:40:17: error: expected ‘;’ before ‘for’
40 | land.reserve(n)
| ^
| ;
41 | for(int i = 0; i < n; i++){
| ~~~
globalwarming.cpp:41:18: error: ‘i’ was not declared in this scope
41 | for(int i = 0; i < n; i++){
| ^