A. Deletions of Two Adjacent Letters
tags: implementation strings
solution:
code:
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;cin>>t;
while(t--){
char s[100];
string s1;char c;
cin>>(s+1)>>s1;
c=s1[0];
int n=strlen(s),flag=0;
for(int i=1;i<