Problem funnyballs
User 7Janish7
Submission Time 2026-01-05 16:34:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyballs.cpp: In function ‘int main()’:
funnyballs.cpp:32:21: error: ‘k’ was not declared in this scope
32 | for(int i = 0; i < k; i++){
| ^
funnyballs.cpp:33:12: error: ‘a’ was not declared in this scope
33 | total += a[i];
| ^