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