Problem | exam |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-18 11:03:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:7:26: error: expected ‘;’ before ‘}’ token
7 | cout << "Hello World"
| ^
| ;
8 | }
| ~
exam.cpp:9:12: error: expected primary-expression before ‘long’
9 | else ( long long a, b;
| ^~~~
exam.cpp:9:11: error: expected ‘)’ before ‘long’
9 | else ( long long a, b;
| ~^~~~~
| )
exam.cpp:10:12: error: ‘a’ was not declared in this scope
10 | cin >> a >> b;
| ^
exam.cpp:10:17: error: ‘b’ was not declared in this scope
10 | cin >> a >> b;
| ^
exam.cpp: At global scope:
exam.cpp:13:5: error: expected declaration before ‘}’ token
13 | }
| ^