foo.cc: In function 'int main()':
foo.cc:15:9: error: expected ')' before '{' token
{
^
foo.cc:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (((isprime(q)) == 1 && n == q + 2)
^~
foo.cc:20:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
for (int m = q + 1; m < n; m++)
^
foo.cc:20:33: error: 'm' was not declared in this scope
foo.cc:9:9: warning: unused variable 'a' [-Wunused-variable]
int a, b, c;
^
foo.cc:9:12: warning: unused variable 'b' [-Wunused-variable]
int a, b, c;
^
foo.cc:9:15: warning: unused variable 'c' [-Wunused-variable]
int a, b, c;
^
[Hydro](https://hydro.ac)提供评测服务