Problem ntuc
User Celado
Submission Time 2025-06-19 10:56:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ntuc.cpp: In function ‘int main()’:
ntuc.cpp:21:14: error: ‘i’ was not declared in this scope
21 | cost += k*p[i];
| ^