Problem exam
User mingging1748
Submission Time 2024-04-13 09:45:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:8:2: error: expected initializer before ‘cin’
8 | cin >> exam;
| ^~~
exam.cpp:14:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | ans = a * b;
| ^~~
| abs