/in/foo.cc: In function 'int main()':
/in/foo.cc:57:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(!q.empty()) q.pop(); q.push((nod){0,0});
^~~~~
/in/foo.cc:57:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(!q.empty()) q.pop(); q.push((nod){0,0});
^
/in/foo.cc:66:31: warning: narrowing conversion of '((((long long int)X.nod::x) + b[i]) % b[1])' from 'long long int' to 'int' inside { } [-Wnarrowing]
q.push((nod){(X.x+b[i])%b[1],X.s+b[i]});
~~~~~~~~~~^~~~~