Problem laptop
User Thealienhuman
Submission Time 2026-06-22 17:00:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:2:2: error: ‘string’ was not declared in this scope
2 | string name, medal;
| ^~~~~~
laptop.cpp:3:5: error: ‘cout’ was not declared in this scope
3 | cout << name << "Silver";
| ^~~~
laptop.cpp:3:13: error: ‘name’ was not declared in this scope
3 | cout << name << "Silver";
| ^~~~