結果
| 問題 | No.2041 E-mail Address |
| コンテスト | |
| ユーザー |
cp_kakashi
|
| 提出日時 | 2023-07-03 18:31:36 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 443µs | |
| コード長 | 407 bytes |
| 記録 | |
| コンパイル時間 | 7,421 ms |
| コンパイル使用メモリ | 335,064 KB |
| 実行使用メモリ | 25,728 KB |
| 最終ジャッジ日時 | 2026-11-27 16:16:08 |
| 合計ジャッジ時間 | 6,328 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge6_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define INF32 2147483647
#define ALL(x) x.begin(), x.end()
vector<int> ddx = {0, 1, 0, -1, 1, 1, -1, -1};
vector<int> ddy = {1, 0, -1, 0, 1, -1, -1, 1};
int main() {
string t;cin>>t;
regex reg{R"(\(\w*\))"};
string s = regex_replace(t,reg,"@");
cout<< s <<endl;
return 0;
}
cp_kakashi