| Problem | exam |
|---|---|
| User | Shawntan |
| Submission Time | 2026-06-22 15:32:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:8:7: error: expected ‘(’ before ‘x’
8 | if x== 1;
| ^
| (
exam.cpp:9:12: error: unable to find string literal operator ‘operator""Hello’ with ‘const char [1]’, ‘long unsigned int’ arguments
9 | cout << ""Hello World"";
| ^~~~~~~
exam.cpp:10:4: error: ‘else’ without a previous ‘if’
10 | else if x==2;
| ^~~~
exam.cpp:10:12: error: expected ‘(’ before ‘x’
10 | else if x==2;
| ^
| (
exam.cpp:13:17: error: expected ‘;’ before ‘cout’
13 | cin >> A >> B
| ^
| ;
14 | cout << A*B
| ~~~~