beauty.cpp: In function 'bool check(int, int)':
beauty.cpp:9:3: error: 'binx' was not declared in this scope
binx = __builtin_popcount(x);
^~~~
beauty.cpp:9:3: note: suggested alternative: 'uint'
binx = __builtin_popcount(x);
^~~~
uint
beauty.cpp:10:3: error: 'biny' was not declared in this scope
biny = __builtin_popcount(y);
^~~~
beauty.cpp:10:3: note: suggested alternative: 'uint'
biny = __builtin_popcount(y);
^~~~
uint
beauty.cpp:20:5: error: 'cnty' was not declared in this scope
cnty += (y%3==1);
^~~~
beauty.cpp:20:5: note: suggested alternative: 'cntx'
cnty += (y%3==1);
^~~~
cntx
beauty.cpp:23:16: error: 'cnty' was not declared in this scope
return cntx==cnty;
^~~~
beauty.cpp:23:16: note: suggested alternative: 'cntx'
return cntx==cnty;
^~~~
cntx