Problem ccs
User Cat
Submission Time 2025-09-03 16:12:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘void solve()’:
ccs.cpp:8:16: error: ‘a’ was not declared in this scope
8 | cin >> a[i];
| ^
ccs.cpp: In function ‘int main()’:
ccs.cpp:17:20: error: expected ‘;’ before ‘}’ token
17 | int q; cin >> q
| ^
| ;
18 | }
| ~