Problem lcm
User Khai
Submission Time 2024-10-09 08:30:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:9:40: error: expected ‘;’ before ‘:’ token
9 | cin >> vec1[i].first >> vec1[i].second:
| ^
| ;
lcm.cpp:13:81: error: expected ‘}’ at end of input
13 | cout << (vec1[i].first * vec1[i].second) / gcd(vec1[i].first , vec1[i].second);}
| ^
lcm.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^