結果
| 問題 | No.676 C0nvertPr0b1em | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-04-28 02:13:42 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 335 bytes | 
| コンパイル時間 | 1,821 ms | 
| コンパイル使用メモリ | 166,536 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-23 12:34:58 | 
| 合計ジャッジ時間 | 2,454 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 30 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
void convert(string &S){
    for (auto &c : S){
        if (c == 'I' or c == 'l') c = '1';
        if (c == 'O' or c == 'o') c = '0';
    }
}
int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    string S;
    cin >> S;
    convert(S);
    cout << S << endl;
    return 0;
}
            
            
            
        