foo.cc: In function 'void solve()':
foo.cc:72:26: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if (vis1[i] ^ vis1[j] != 0)
^
foo.cc:56:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m); scanf("%c", &c);
^
foo.cc:56:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m); scanf("%c", &c);
^
foo.cc:60:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%d", &c, &row);
^
foo.cc:65:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if (i != m) scanf("%c", &c);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-24T12:37:32.017Z","handle":"2020-03-24T12:37:32.017Z","cache_start":"2020-03-24T12:37:32.024Z","read_cases":"2020-03-24T12:37:32.131Z","judge":"2020-03-24T12:37:32.134Z","done":"2020-03-24T12:37:35.280Z"}