Problem laptop
User JcYong
Submission Time 2024-06-21 14:59:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:27:18: error: ‘i’ was not declared in this scope
27 | c = cost[i];
| ^