Problem multipleswith8
User Henries
Submission Time 2024-12-07 10:00:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

multipleswith8.cpp: In function ‘int main()’:
multipleswith8.cpp:7:34: error: expected ‘;’ before numeric constant
7 | long long m,k;cin >> m >> k;9 88
| ^~~
| ;
multipleswith8.cpp:11:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
11 | ans += 1;
| ^~~
| abs
multipleswith8.cpp:14:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | cout << ans;
| ^~~
| abs