implementer.cpp: In function ‘int main()’:
implementer.cpp:37:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
37 | scanf("%d %d",&n,&K); assert(1<=n&&n<=27&&2*K>n);
| ~~~~~^~~~~~~~~~~~~~~
answer.code: In function ‘int solve(int, int, int)’:
answer.code:9:38: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
9 | if(s & (1 << i - 1)) num++;
| ^~~
| enum
answer.code:10:22: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
10 | else num--;
| ^~~
| enum
answer.code:11:20: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
11 | if(num < mn) num = mn, pos = i;
| ^~~
| enum