結果
| 問題 | No.676 C0nvertPr0b1em |
| コンテスト | |
| ユーザー |
Kutimoti_T
|
| 提出日時 | 2018-05-13 23:06:38 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 304 bytes |
| 記録 | |
| コンパイル時間 | 947 ms |
| コンパイル使用メモリ | 179,700 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-08 07:13:39 |
| 合計ジャッジ時間 | 1,551 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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