Problem candyshop
User benji9736
Submission Time 2025-12-17 15:51:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
candyshop.cpp: In function ‘int main()’:
candyshop.cpp:35:9: error: ‘x’ was not declared in this scope
35 | cin>>x;
| ^