/in/foo.cc: In function 'int main()':
/in/foo.cc:17:13: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(m&1 == 1){
^
/in/foo.cc:7:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
/in/foo.cc:9:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
/in/foo.cc:12:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&matrix[i][j]);
^