sequence.cpp: In function 'long long int solve(std::vector<int>&, int, bool, bool)':
sequence.cpp:42:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int j=0; j*10+i<masks.size(); j++){
| ~~~~~~^~~~~~~~~~~~~
sequence.cpp:51:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
51 | ret=min(ret, solve(newMasks, depth+1, fu==0 and reduced, ninezero or fu==9 and newMasks.size()==2)*10+fu);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
sequence.cpp: In function 'int main()':
sequence.cpp:59:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | scanf("%d", &k);
| ~~~~~^~~~~~~~~~
sequence.cpp:62:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | scanf("%d", &i), i=1<<i;
| ~~~~~^~~~~~~~~~