Problem lcm
User chickengoat
Submission Time 2026-02-20 10:14:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll firsta=a;
| ^~
lcm.cpp:8:4: error: expected ‘;’ before ‘firstb’
8 | ll firstb=b;
| ^~~~~~~
| ;
lcm.cpp:14:4: error: expected ‘;’ before ‘ans’
14 | ll ans=firsta*firstb/a;
| ^~~~
| ;
lcm.cpp:15:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
15 | cout << ans;
| ^~~
| abs