結果
| 問題 |
No.676 C0nvertPr0b1em
|
| コンテスト | |
| ユーザー |
saming2209
|
| 提出日時 | 2018-05-11 15:54:37 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 374 bytes |
| コンパイル時間 | 1,786 ms |
| コンパイル使用メモリ | 166,348 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-23 12:45:06 |
| 合計ジャッジ時間 | 2,634 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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