Problem | exam |
---|---|
User | yuenyih |
Submission Time | 2024-07-15 17:01:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
exam.cpp: In function ‘int main()’:
exam.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin << a;
| ^~~
exam.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout >> "Hello World";
| ^~~~
exam.cpp:10:5: error: expected ‘}’ before ‘else’
10 | else if (a == 2) {
| ^~~~
exam.cpp:8:14: note: to match this ‘{’
8 | if (a == 1) {
| ^
exam.cpp:13:3: error: ‘cout’ was not declared in this scope
13 | cout >> (b*c);
| ^~~~
exam.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
exam.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^