Main.cc: In function 'int main()':
Main.cc:6:5: error: expected initializer before 'cin'
cin>>n>>m;
^
Main.cc:8:14: error: 'm' was not declared in this scope
if(i%m==0)}
^
Main.cc:8:19: error: expected primary-expression before '}' token
if(i%m==0)}
^
Main.cc:9:15: error: 'i' was not declared in this scope
cout<