Problem lcm
User afzal
Submission Time 2025-03-14 09:45:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:12:31: error: expected ‘;’ before ‘)’ token
12 | for(int z =0; z<ar.size(),z++){
| ^
| ;
lcm.cpp:13:15: error: request for member ‘front’ in ‘z’, which is of non-class type ‘long long int’
13 | cout<< z.front()
| ^~~~~
lcm.cpp:16:2: error: expected ‘}’ at end of input
16 | }
| ^
lcm.cpp:7:14: note: to match this ‘{’
7 | signed main(){
| ^