結果
| 問題 | No.676 C0nvertPr0b1em |
| コンテスト | |
| ユーザー |
Yut176
|
| 提出日時 | 2018-04-27 22:53:00 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 492 bytes |
| 記録 | |
| コンパイル時間 | 489 ms |
| コンパイル使用メモリ | 101,376 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-08 06:56:55 |
| 合計ジャッジ時間 | 1,184 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
using namespace std;
int mod = 1e9+7;
int main() {
string s;cin >> s;
for(int i=0; i<s.size(); i++){
if(s[i] == 'I') s[i] = '1';
if(s[i] == 'l') s[i] = '1';
if(s[i] == 'O') s[i] = '0';
if(s[i] == 'o') s[i] = '0';
}
cout << s << endl;
return 0;
}
// EOF
Yut176