messy.cpp: In function 'std::vector<int> restore_permutation(int, int, int)':
messy.cpp:22:26: error: 'curs' was not declared in this scope; did you mean 'cur'?
22 | for(int i=0;i<n;i++) curs=cur+'0';
| ^~~~
| cur
messy.cpp:31:22: error: 'curs' was not declared in this scope; did you mean 'cur'?
31 | if(check(curs,nwbit))
| ^~~~
| cur
messy.cpp:39:9: error: 'curs' was not declared in this scope; did you mean 'cur'?
39 | curs[goodbit]='1';
| ^~~~
| cur
messy.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
messy_c.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~