Problem exam
User meal
Submission Time 2024-11-04 20:50:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:2:2: error: ‘x’ was not declared in this scope
2 | x = input("line 1");
| ^
exam.cpp:2:6: error: ‘input’ was not declared in this scope; did you mean ‘int’?
2 | x = input("line 1");
| ^~~~~
| int
exam.cpp:3:2: error: ‘a’ was not declared in this scope
3 | a, b = input("line 1").split();
| ^
exam.cpp:3:5: error: ‘b’ was not declared in this scope
3 | a, b = input("line 1").split();
| ^
exam.cpp:5:3: error: ‘print’ was not declared in this scope; did you mean ‘int’?
5 | print("Hello World");
| ^~~~~
| int
exam.cpp:7:3: error: ‘print’ was not declared in this scope; did you mean ‘int’?
7 | print(a*b)
| ^~~~~
| int