結果
問題 | No.676 C0nvertPr0b1em |
ユーザー |
|
提出日時 | 2019-01-03 09:33:47 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 5,651 ms |
コンパイル使用メモリ | 285,016 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-23 12:58:32 |
合計ジャッジ時間 | 6,533 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s0; cin >> s0; string s1 = regex_replace(s0, regex("I|l"), "1"); string s2 = regex_replace(s1, regex("O|o"), "0"); cout << s2 << endl; return 0; }