Main.cc: In function ‘int main()’:
Main.cc:7:15: error: ‘n’ was not declared in this scope
for(int i=n;i>=1;i--)
^
Main.cc:9:18: error: ‘m’ was not declared in this scope
while(j<=m)
^
Main.cc:11:16: error: ‘a’ was not declared in this scope
if(a[i]*b[j]>=mid)
^
Main.cc:11:21: error: ‘b’ was not declared in this scope
if(a[i]*b[j]>=mid)
^
Main.cc:11:27: error: ‘mid’ was not declared in this scope
if(a[i]*b[j]>=mid)
^~~
Main.cc:11:27: note: suggested alternative: ‘main’
if(a[i]*b[j]>=mid)
^~~
main