Problem platonic5
User Harshith
Submission Time 2026-03-02 14:53:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic5.cpp: In function ‘int main()’:
platonic5.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0;i<k;i++){
| ^
platonic5.cpp:15:19: error: ‘i’ was not declared in this scope
15 | total += abs(n - i);
| ^