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

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:7:6: error: ‘i’ was not declared in this scope
7 | for(i = 0; i < n; i++) {
| ^
lcm.cpp:13:1: error: expected ‘}’ at end of input
13 | }
| ^
lcm.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^