結果
| 問題 |
No.676 C0nvertPr0b1em
|
| コンテスト | |
| ユーザー |
Coffee_drunk
|
| 提出日時 | 2018-06-10 21:45:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 344 bytes |
| コンパイル時間 | 4,811 ms |
| コンパイル使用メモリ | 70,212 KB |
| 最終ジャッジ日時 | 2025-01-05 12:22:48 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#include<iostream>
#include <algorithm>
#include<string>
int main (){
std::string S;
std::cin >> S;
std::replace(S.begin(),S.end(),'I','1');
std::replace(S.begin(),S.end(),'l','1');
std::replace(S.begin(),S.end(),'I','1');
std::replace(S.begin(),S.end(),'o','0');
std::replace(S.begin(),S.end(),'O','0');
std::cout << S << std::endl;
}
Coffee_drunk