結果

問題 No.2041 E-mail Address
ユーザー asumo0729asumo0729
提出日時 2022-08-19 21:21:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 821 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 61,056 KB
最終ジャッジ日時 2024-04-16 23:59:39
合計ジャッジ時間 1,592 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
60,928 KB
testcase_01 AC 60 ms
60,800 KB
testcase_02 AC 56 ms
61,056 KB
testcase_03 AC 56 ms
60,800 KB
testcase_04 AC 56 ms
60,672 KB
testcase_05 AC 56 ms
61,056 KB
testcase_06 AC 56 ms
60,544 KB
testcase_07 AC 57 ms
60,800 KB
testcase_08 AC 56 ms
61,056 KB
testcase_09 AC 56 ms
61,056 KB
testcase_10 AC 56 ms
61,056 KB
testcase_11 AC 56 ms
61,056 KB
testcase_12 AC 56 ms
60,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from operator import itemgetter
from collections import defaultdict, deque
import heapq
from heapq import heapify, heappop, _heapify_max, heappush
from bisect import bisect_left, bisect_right
import math
import itertools
import copy

stdin=sys.stdin
#sys.setrecursionlimit(10 ** 7)
## import pypyjit
## pypyjit.set_param('max_unroll_recursion=-1')

ip=lambda: int(sp())
fp=lambda: float(sp())
lp=lambda:list(map(int,stdin.readline().split()))
sp=lambda:stdin.readline().rstrip()
Yp=lambda:print('Yes')
Np=lambda:print('No')
inf = 1 << 60
mod = 10 ** 9 + 7
mod = 998244353
eps = 1e-9
sortkey1 = itemgetter(0)
sortkey2 = lambda x: (x[0], x[1])



###############################################################

S = input()
l = S.index('(')
r = S.index(')')
rep = S[l: r + 1]
ans = S.replace(rep, '@')
print(ans)
0