Problem | exam |
---|---|
User | Adam |
Submission Time | 2024-06-18 10:58:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:4:36: error: expected ‘;’ before ‘long’
4 | cout << "Hello World" << std::endl
| ^
| ;
5 | long long x, y;
| ~~~~
exam.cpp:6:9: error: ‘x’ was not declared in this scope
6 | cin >> x >> by
| ^
exam.cpp:6:14: error: ‘by’ was not declared in this scope
6 | cin >> x >> by
| ^~
exam.cpp:8:13: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
8 | cout << (x+y) << '\n'; //outputs 12;
| ^
| yn
exam.cpp:9:1: error: expected ‘}’ at end of input
9 | }
| ^
exam.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^