Main.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
#incldue
^~~~~~~
include
Main.cc: In function ‘int main()’:
Main.cc:10:5: error: ‘scanf’ was not declared in this scope
scanf("%d",&T);
^~~~~
Main.cc:13:9: error: ‘memset’ was not declared in this scope
memset(f,0,sizeof(f));
^~~~~~
Main.cc:16:9: error: ‘sort’ was not declared in this scope
sort(a+1,a+n+1);
^~~~
Main.cc:16:9: note: suggested alternative: ‘short’
sort(a+1,a+n+1);
^~~~
short
Main.cc:30:9: error: ‘printf’ was not declared in this scope
printf("%d\n",ans);
^~~~~~
Main.cc:30:9: note: suggested alternative: ‘int’
printf("%d\n",ans);
^~~~~~
int