Problem lcm
User VJADITHYA
Submission Time 2023-08-21 17:08:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:33:18: error: expected primary-expression before ‘int’
33 | for (int A=0 || int B=0){
| ^~~
lcm.cpp:35:3: error: expected ‘;’ before ‘return’
35 | }
| ^
| ;
36 |
37 | return 0;
| ~~~~~~
lcm.cpp:37:5: error: expected primary-expression before ‘return’
37 | return 0;
| ^~~~~~
lcm.cpp:35:3: error: expected ‘;’ before ‘return’
35 | }
| ^
| ;
36 |
37 | return 0;
| ~~~~~~
lcm.cpp:37:5: error: expected primary-expression before ‘return’
37 | return 0;
| ^~~~~~
lcm.cpp:35:3: error: expected ‘)’ before ‘return’
35 | }
| ^
| )
36 |
37 | return 0;
| ~~~~~~
lcm.cpp:33:6: note: to match this ‘(’
33 | for (int A=0 || int B=0){
| ^