結果

問題 No.676 C0nvertPr0b1em
ユーザー hiragn
提出日時 2019-07-16 09:03:03
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 5,880 ms
コンパイル使用メモリ 285,520 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-29 23:36:04
合計ジャッジ時間 6,606 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    string s;
    cin >> s;

    s = regex_replace(s, regex("I|l"), "1");
    s = regex_replace(s, regex("O|o"), "0");
    cout << s << endl;
    return 0;
}
0