foo.cc: In function 'void fill(int, int)':
foo.cc:7:8: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (x <= 0 | x > n | y <= 0 | y > n) return ;
~~^~~~
foo.cc:7:25: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (x <= 0 | x > n | y <= 0 | y > n) return ;
~~^~~~
foo.cc:7:34: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (x <= 0 | x > n | y <= 0 | y > n) return ;
~~^~~
foo.cc: In function 'int main()':
foo.cc:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:22:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&mmap[i][j]);
~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。