Problem laptop
User herngr3y
Submission Time 2026-05-31 17:25:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:16:3: error: expected initializer before ‘long’
16 | long long cost;
| ^~~~
laptop.cpp:17:10: error: ‘brand’ was not declared in this scope; did you mean ‘srand’?
17 | cin >> brand >> cost;
| ^~~~~
| srand
laptop.cpp:17:19: error: ‘cost’ was not declared in this scope; did you mean ‘cosl’?
17 | cin >> brand >> cost;
| ^~~~
| cosl