From e64dd415a22409cbc6a311d18a031deec0a5a9ab Mon Sep 17 00:00:00 2001 From: Anmol55555 <61626454+Anmol55555@users.noreply.github.com> Date: Thu, 1 Oct 2020 21:48:38 +0530 Subject: [PATCH] Solution of A. String Similarity 1400A.cpp --- Codeforces/1400A.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Codeforces/1400A.cpp diff --git a/Codeforces/1400A.cpp b/Codeforces/1400A.cpp new file mode 100644 index 0000000..f293bb4 --- /dev/null +++ b/Codeforces/1400A.cpp @@ -0,0 +1,20 @@ +#include +#include +using namespace std; +int main() +{ + string s,d; + int t, n; + cin>>t; + while(t--) + { + cin>>n; + cin>>s; + for(auto i=0; i