以下の内容はhttps://blog.hamayanhamayan.com/entry/2018/04/28/082854より取得しました。


C0nvertPr0b1em [yukicoder No.676]

https://yukicoder.me/problems/no/676

解法

https://yukicoder.me/submissions/254271

題意通りに変換して出力する。
c++なら以下のように実装する。

string S;
//---------------------------------------------------------------------------------------------------
void _main() {
    cin >> S;
    fore(c, S) {
        if (c == 'I') c = '1';
        if (c == 'l') c = '1';
        if (c == 'O') c = '0';
        if (c == 'o') c = '0';
    }
    cout << S << endl;
}



以上の内容はhttps://blog.hamayanhamayan.com/entry/2018/04/28/082854より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14