結果
問題 |
No.676 C0nvertPr0b1em
|
ユーザー |
|
提出日時 | 2022-12-18 22:40:23 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 693 ms |
コンパイル使用メモリ | 85,624 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 23:57:48 |
合計ジャッジ時間 | 1,669 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }