Problem scicom
User Roucy
Submission Time 2025-06-20 13:05:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
scicom.cpp: In function ‘int main()’:
scicom.cpp:5:12: error: expected initializer before ‘silver’
5 | string pan silver;
| ^~~~~~
scicom.cpp:6:8: error: ‘pan’ was not declared in this scope; did you mean ‘tan’?
6 | cin >>pan silver;
| ^~~
| tan