Problem exam
User yihai
Submission Time 2026-01-21 17:04:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:12:12: error: expected primary-expression before ‘>>’ token
12 | cin >>a; >>b;
| ^~
exam.cpp:13:7: error: expected ‘;’ before ‘a’
13 | cout a*b;
| ^~
| ;
exam.cpp:13:11: error: expected ‘}’ at end of input
13 | cout a*b;
| ^
exam.cpp:10:16: note: to match this ‘{’
10 | }else if(x==2){;
| ^
exam.cpp:13:11: error: expected ‘}’ at end of input
13 | cout a*b;
| ^
exam.cpp:4:15: note: to match this ‘{’
4 | signed main() {
| ^