結果
| 問題 | No.676 C0nvertPr0b1em | 
| コンテスト | |
| ユーザー |  Kura | 
| 提出日時 | 2019-02-16 10:26:48 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 284 bytes | 
| コンパイル時間 | 429 ms | 
| コンパイル使用メモリ | 55,472 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-23 12:59:10 | 
| 合計ジャッジ時間 | 1,276 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 30 | 
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
    string S;
    cin>>S;
    for(int i=0;i<S.length();i++){
        if(S[i]=='I'||S[i]=='l'){
            S[i]='1';
        }else if(S[i]=='O'||S[i]=='o'){
            S[i]='0';
        }
    }
    cout<<S<<endl;
}
            
            
            
        