Problem laptop
User Ultraman425
Submission Time 2026-02-19 14:55:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:13:6: error: ‘T’ was not declared in this scope
13 | if (T == 1) {
| ^
laptop.cpp:15:4: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
15 | return;
| ^~~~~~
laptop.cpp:30:4: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
30 | return;
| ^~~~~~