結果
| 問題 | No.676 C0nvertPr0b1em |
| コンテスト | |
| ユーザー |
saming2209
|
| 提出日時 | 2018-05-11 15:54:37 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 374 bytes |
| 記録 | |
| コンパイル時間 | 996 ms |
| コンパイル使用メモリ | 184,276 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-08 07:12:28 |
| 合計ジャッジ時間 | 1,625 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#include<bits/stdc++.h>
#define INF 1000000007
#define LINF 1000000000000000007
using namespace std;
typedef long long Int;
typedef pair<Int, Int> P;
int main(){
string s;
cin >> s;
for(int i = 0; i < s.size(); i++){
if(s[i] == 'o' || s[i] == 'O') cout << '0';
else if(s[i] == 'l' || s[i] == 'I') cout << '1';
else cout << s[i];
}
cout << endl;
return 0;
}
saming2209