Problem lcm
User Khai
Submission Time 2024-10-09 08:29:58
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: At global scope:
lcm.cpp:12:2: error: expected unqualified-id before ‘for’
12 | for(int i = 0; i <n ; i++){
| ^~~
lcm.cpp:12:17: error: ‘i’ does not name a type
12 | for(int i = 0; i <n ; i++){
| ^
lcm.cpp:12:24: error: ‘i’ does not name a type
12 | for(int i = 0; i <n ; i++){
| ^