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