Problem exam
User sussyimpasta
Submission Time 2025-04-01 21:11:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:8:24: error: expected ‘;’ before ‘}’ token
8 | cout << "Hello World"}
| ^
| ;
exam.cpp:11:7: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘long long int’)
11 | cin << a << b;
| ~~~ ^~ ~
| | |
| | long long int
| std::istream {aka std::basic_istream<char>}
exam.cpp:11:7: note: candidate: ‘operator<<(int, long long int)’ <built-in>
11 | cin << a << b;
| ~~~~^~~~
exam.cpp:11:7: note: no known conversion for argument 1 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from exam.cpp:1:
/usr/in