Main.cc: In function 'int main()':
Main.cc:16:49: error: expected primary-expression before ';' token
if(i == 1 || j == 1 || i == m || j == n) num+=;
^
Main.cc:21:8: error: expected ';' at end of input
return 0
^
Main.cc:21:8: error: expected '}' at end of input