Main.cc: In function ‘int main()’:
Main.cc:51:6: warning: operation on ‘m’ may be undefined [-Wsequence-point]
m=(++m)%4;
~^~~~~~~~
Main.cc:9:11: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
int m=0,c=0,count=0;
^
Main.cc:77:10: error: expected ‘}’ at end of input
return 0;
^