結果
| 問題 | No.676 C0nvertPr0b1em | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-05-08 17:28:50 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 251 bytes | 
| コンパイル時間 | 412 ms | 
| コンパイル使用メモリ | 56,892 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-02 00:30:43 | 
| 合計ジャッジ時間 | 1,422 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 30 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
	string s;
	cin>>s;
	for(int x=0;x<s.size();x++){
		if((s[x]=='I')||(s[x]=='l')){
			s[x]='1';
		}
		if((s[x]=='O')||(s[x]=='o')){
			s[x]='0';
		}
	}
	cout<<s<<endl;
	return 0;
}
            
            
            
        