結果

問題 No.2041 E-mail Address
ユーザー takabatake2911
提出日時 2022-12-16 18:06:43
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 4,756 ms
コンパイル使用メモリ 211,820 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-15 23:03:08
合計ジャッジ時間 5,795 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <regex>

using namespace std;
int main()
{
    string s;
    cin >> s;
    regex e("\\(\\w*\\)");
    cout << regex_replace(s, e, "@") << endl;
    return 0;
}
0