0_0_38509839_23891.cpp:36:18: error: 'Q' does not name a type int sum[N], a[N];Q ^ 0_0_38509839_23891.cpp: In function 'int main()': 0_0_38509839_23891.cpp:62:15: error: 'solve' was not declared in this scope solve(); ^