結果
| 問題 |
No.676 C0nvertPr0b1em
|
| コンテスト | |
| ユーザー |
Kutimoti_T
|
| 提出日時 | 2018-05-13 23:06:38 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 304 bytes |
| コンパイル時間 | 1,372 ms |
| コンパイル使用メモリ | 158,172 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-23 12:46:03 |
| 合計ジャッジ時間 | 2,253 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
#define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++)
string s;
int main(){
cin >> s;
for(char c : s){
if(c == 'I' || c == 'l') cout << 1;
else if(c == 'O' || c == 'o') cout << 0;
else cout << c;
}
cout << endl;
}
Kutimoti_T