diff options
Diffstat (limited to 'codechef/PawriMeme/main.cpp')
| -rw-r--r-- | codechef/PawriMeme/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/codechef/PawriMeme/main.cpp b/codechef/PawriMeme/main.cpp new file mode 100644 index 0000000..1e20964 --- /dev/null +++ b/codechef/PawriMeme/main.cpp @@ -0,0 +1,17 @@ +#include<bits/stdc++.h> + +using namespace std; + +int main () { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while(tt--){ + string s; + cin >> s; + s = regex_replace(s, regex("party"), "pawri"); + cout << s << endl; + } + +} |
