0_0_22876557_28495.cpp:1:2: error: stray '#' in program
x#include <bits/stdc++.h>
^
0_0_22876557_28495.cpp:1:1: error: 'x' does not name a type
x#include <bits/stdc++.h>
^
0_0_22876557_28495.cpp: In function 'int main()':
0_0_22876557_28495.cpp:5:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_22876557_28495.cpp:14:22: error: 'puts' was not declared in this scope
puts("NO");
^
0_0_22876557_28495.cpp:24:28: error: 'sort' was not declared in this scope
sort(ans, ans + idx);
^
0_0_22876557_28495.cpp:32:25: error: 'puts' was not declared in this scope
if(f) puts("YES");
^
0_0_22876557_28495.cpp:33:23: error: 'puts' was not declared in this scope
else puts("NO");
^
|