結果

問題 No.676 C0nvertPr0b1em
ユーザー 007p99lupin
提出日時 2018-04-30 21:31:44
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 312 bytes
コンパイル時間 1,234 ms
コンパイル使用メモリ 158,584 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 12:36:15
合計ジャッジ時間 2,157 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(int argc, char const* argv[])
{
	string s;
	cin>>s;

	int l=s.length();
	for (int i = 0; i < l; i++) {
		if(s[i]=='I') s[i] = 1;
		else if(s[i]=='l') s[i] = 1;
		else if(s[i]=='O') s[i] = 0;
		else if(s[i]=='o') s[i] = 0;

	}
	cout<<s<<endl;

	return 0;
}
0