diff --git a/pallindrome flipping .cpp b/pallindrome flipping .cpp new file mode 100644 index 0000000..5f2e702 --- /dev/null +++ b/pallindrome flipping .cpp @@ -0,0 +1,25 @@ +#include +using namespace std; + +int main() { +int t; +cin>>t; + while(t--){ + int n; + cin>>n; + string b; + cin>>b; + int zeros=0,ones=0; + for(int i=0;i