From 14ba273992139cf7c735de9c3ab7b0c7d7824a60 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Tue, 27 Jun 2023 18:39:17 +0600 Subject: [PATCH] initial commit --- 4C Registration System/4C.cpp | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 4C Registration System/4C.cpp diff --git a/4C Registration System/4C.cpp b/4C Registration System/4C.cpp new file mode 100644 index 0000000..a9bf2c0 --- /dev/null +++ b/4C Registration System/4C.cpp @@ -0,0 +1,39 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + int n; + cin>>n; + unordered_mapm; + for(int i=0; i>s; + auto it= m.find(s); + if(it==m.end()) + { + m[s]; + cout<<"OK"<> TC; + //cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file