Problem lcm
User Hatrix
Submission Time 2026-04-12 21:28:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:6:8: error: expected initializer before ‘<=’ token
6 | int n <= 23;
| ^~
lcm.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n;
| ^
| yn
lcm.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i = 0; i < n; i++) {
| ^