foo.cc: In function 'long long int query(long long int, long long int, long long int)':
foo.cc:51:42: error: expected ')' before ';' token
for (;orz <= n;orz *= f[x][i];) {
^
foo.cc:51:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (;orz <= n;orz *= f[x][i];) {
^~~
foo.cc:51:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (;orz <= n;orz *= f[x][i];) {
^
foo.cc:51:43: error: expected primary-expression before ')' token