/in/foo.cc: In function 'int main()':
/in/foo.cc:51:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::deque<int>::size_type {aka long unsigned int}' [-Wformat=]
    printf("Size = %d\n",que.size());
                                   ^
/in/foo.cc:82:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
       while(!f[i--]);
       ^~~~~
/in/foo.cc:83:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
        ans=i;
        ^~~
/in/foo.cc:91:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
       while(!f[i--]);
       ^~~~~
/in/foo.cc:92:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
        ans=i;
        ^~~