From 5b5dd3699dcd98e92f2591c769b8f411194e83f0 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Wed, 26 Jul 2023 00:24:43 +0600 Subject: [PATCH] initial commit --- 22A Second Order Statistics/22A.cpp | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 22A Second Order Statistics/22A.cpp diff --git a/22A Second Order Statistics/22A.cpp b/22A Second Order Statistics/22A.cpp new file mode 100644 index 0000000..13bce01 --- /dev/null +++ b/22A Second Order Statistics/22A.cpp @@ -0,0 +1,35 @@ +#include +using namespace std; +using ll = long long; + + +void solve() +{ + int n; + cin>>n; + sets; + for(int i=0; i>x; + s.insert(x); + } + if(s.size()==1) + cout<<"NO"<> TC; + //cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file