Problem | exam |
---|---|
User | lulu1008 |
Submission Time | 2024-06-18 10:43:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:4:9: error: expected primary-expression before ‘int’
4 | cin >> int x;
| ^~~
exam.cpp:5:6: error: ‘x’ was not declared in this scope
5 | if (x == 1){
| ^
exam.cpp:8:13: error: expected primary-expression before ‘int’
8 | cin >> int A, B;
| ^~~
exam.cpp:9:11: error: ‘A’ was not declared in this scope
9 | cout << A * B <<"\n";
| ^
exam.cpp:9:15: error: ‘B’ was not declared in this scope
9 | cout << A * B <<"\n";
| ^