encoder.cpp: In function 'int encode(int, int, int)':
encoder.cpp:3:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!f)for(;i<=4096;i++)if(__builtin_popcount(i)==6)c[++r]=i;f=1;
^~
encoder.cpp:3:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(!f)for(;i<=4096;i++)if(__builtin_popcount(i)==6)c[++r]=i;f=1;
^
decoder.cpp: In function 'int decode(int, int, int)':
decoder.cpp:3:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!f)for(;i<=4096;i++)if(__builtin_popcount(i)==6)c[++r]=i;f=1;
^~
decoder.cpp:3:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(!f)for(;i<=4096;i++)if(__builtin_popcount(i)==6)c[++r]=i;f=1;
^
decoder.cpp:4:21: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return c[q]&1<<h-1?1:0;
~^~