/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:26:40: warning: array subscript has type 'char' [-Wchar-subscripts]
int e = cnt[r[i] & l[ny] & g[c[i][ny]]];
^
/in/foo.cc:28:43: warning: array subscript has type 'char' [-Wchar-subscripts]
int num = pos[r[i] & l[ny] & g[c[i][ny]]];
^
/in/foo.cc:5:72: warning: array subscript has type 'char' [-Wchar-subscripts]
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^
/in/foo.cc:30:4: note: in expansion of macro 'update'
update(i,ny,num)
^~~~~~
/in/foo.cc:5:72: warning: array subscript has type 'char' [-Wchar-subscripts]
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^
/in/foo.cc:32:4: note: in expansion of macro 'update'
update(i,ny,num)
^~~~~~
/in/foo.cc:42:37: warning: array subscript has type 'char' [-Wchar-subscripts]
for(int t = r[x] & l[y] & g[c[x][y]];t;t ^= lowbit(t)){
^
/in/foo.cc:5:72: warning: array subscript has type 'char' [-Wchar-subscripts]
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^
/in/foo.cc:44:3: note: in expansion of macro 'update'
update(x,y,num)
^~~~~~
/in/foo.cc:5:72: warning: array subscript has type 'char' [-Wchar-subscripts]
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^
/in/foo.cc:46:3: note: in expansion of macro 'update'
update(x,y,num)
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:66:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
update(i,j,x - 1)
~~^~~
/in/foo.cc:5:39: note: in definition of macro 'update'
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^~~
/in/foo.cc:66:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
update(i,j,x - 1)
~~^~~
/in/foo.cc:5:58: note: in definition of macro 'update'
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^~~
/in/foo.cc:5:72: warning: array subscript has type 'char' [-Wchar-subscripts]
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^
/in/foo.cc:66:5: note: in expansion of macro 'update'
update(i,j,x - 1)
^~~~~~
/in/foo.cc:66:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
update(i,j,x - 1)
~~^~~
/in/foo.cc:5:83: note: in definition of macro 'update'
#define update(x,y,num) r[x] ^= (1 << num),l[y] ^= (1 << num),g[c[x][y]] ^= (1 << num),ans[x * 9 + y] = '0' + num + 1;
^~~
/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:22:17: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
int nxt = 10,x,y;
^
/in/foo.cc:42:36: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int t = r[x] & l[y] & g[c[x][y]];t;t ^= lowbit(t)){
~~~~~~^