Problem clique
User WJR
Submission Time 2025-12-03 16:28:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

clique.cpp:4:15: error: conflicting declaration ‘int c [100010]’
4 | int a[100010],c[100010];
| ^
clique.cpp:3:7: note: previous declaration as ‘int c’
3 | int n,c,q;
| ^
clique.cpp: In function ‘int main()’:
clique.cpp:15:10: error: invalid types ‘int[int]’ for array subscript
15 | c[a[j]]++;
| ^
clique.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
clique.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^