0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-16 20:05:26 +00:00
Baoshuo Ren 2021-08-06 19:16:57 +08:00
parent 86b50a0f4f
commit 3fc12e9ae2
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

21
AcWing/769/769.cpp Normal file
View File

@ -0,0 +1,21 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
char op;
cin >> op;
for (char c : s) {
if (c != op) {
cout << c;
} else {
cout << '#';
}
}
return 0;
}