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