/in/foo.cc: In function 'long long int BSGS(long long int, long long int, long long int, long long int)':
/in/foo.cc:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (ll i = b, j = 0 ; j <= p ; ++ j, i = i * Q % mod) if (H[i]) return j * p + H[i] ; return -1 ;
^~~
/in/foo.cc:31:93: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (ll i = b, j = 0 ; j <= p ; ++ j, i = i * Q % mod) if (H[i]) return j * p + H[i] ; return -1 ;
^~~~~~