#include <iostream> #include <string> using namespace std; int main() { string rb; cin >> rb; for(char &c : rb) { // 使用引用直接修改 if(c == '5') { c = '*'; } } cout << rb; return 0; } // 64 位输出请用 printf("%lld")