0_0_22616940_2088.cpp: In function 'int main()':
0_0_22616940_2088.cpp:20:7: error: 'i' was not declared in this scope
for(i=1;i<=m;i++) scanf("%d",&a[i]);
^
0_0_22616940_2088.cpp:21:7: error: 'i' was not declared in this scope
for(i=1;i<=m;i++) scanf("%d",&b[i]);
^
0_0_22616940_2088.cpp:22:7: error: 'i' was not declared in this scope
for(i=1;i<=m;i++) M=M*a[i]/gcd(M,a[i]);
^
0_0_22616940_2088.cpp:23:7: error: 'i' was not declared in this scope
for(i=1;i<=min(n,M);i++)
^
|