diff --git a/card_removal.cpp b/card_removal.cpp new file mode 100644 index 0000000..193454f --- /dev/null +++ b/card_removal.cpp @@ -0,0 +1,27 @@ +#include +using namespace std; + +int main() { + + int t; + cin>>t; + while(t--){ + int n; + cin>>n; + int a[n]; + maps; + for(int i=0;i>a[i]; + s[a[i]]++; + } + int l=0; + for(int i=0;i