Problem platonic23
User bz
Submission Time 2025-12-20 15:09:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic23.cpp: In function ‘int main()’:
platonic23.cpp:27:10: error: ‘i’ was not declared in this scope
27 | ll h[i];
| ^
platonic23.cpp:28:36: error: ‘h’ was not declared in this scope
28 | for (int i=0; i<n; i++) cin >> h[i];
| ^
platonic23.cpp:35:17: error: ‘h’ was not declared in this scope
35 | if (h[i] > mid) cnt++;
| ^