Problem | exam |
---|---|
User | meixu |
Submission Time | 2023-02-17 17:01:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp:1:6: error: found ‘:’ in nested-name-specifier, expected ‘::’
1 | (Hint: use if-else)
| ^
| ::
exam.cpp:1:2: error: ‘Hint’ has not been declared
1 | (Hint: use if-else)
| ^~~~
exam.cpp:1:11: error: expected ‘)’ before ‘if’
1 | (Hint: use if-else)
| ~ ^~~
| )
exam.cpp:4:1: error: ‘cin’ does not name a type
4 | cin>>a>>b;
| ^~~
exam.cpp:5:1: error: expected unqualified-id before ‘if’
5 | if(a==1)
| ^~
exam.cpp:9:1: error: expected unqualified-id before ‘else’
9 | else
| ^~~~