Problem | exam |
---|---|
User | Etw |
Submission Time | 2024-06-18 10:54:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main() {
| ~~~
exam.cpp: In function ‘int main()’:
exam.cpp:4:9: error: expected primary-expression before ‘int’
4 | cin >> int paper;
| ^~~
exam.cpp:5:6: error: ‘x’ was not declared in this scope
5 | if (x = 1) {
| ^
exam.cpp:9:10: error: expected primary-expression before ‘int’
9 | cin >> int a >> int b;
| ^~~
exam.cpp:10:11: error: ‘a’ was not declared in this scope
10 | cout << a*b;
| ^
exam.cpp:10:13: error: ‘b’ was not declared in this scope
10 | cout << a*b;
| ^