diff --git a/AcWing/769/769.cpp b/AcWing/769/769.cpp new file mode 100644 index 00000000..b2da7a0e --- /dev/null +++ b/AcWing/769/769.cpp @@ -0,0 +1,21 @@ +#include + +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; +}