結果

問題 No.2041 E-mail Address
ユーザー flygon
提出日時 2022-10-07 21:04:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 508 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 60,288 KB
最終ジャッジ日時 2024-06-12 05:05:21
合計ジャッジ時間 1,529 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

t = input()
s = ""
flg = False
for c in t:
  if flg and c == ")":
    s += "@"
    flg = False
  elif c == "(":
    flg = True
  elif flg:
    continue
  elif not flg:
    s += c
print(s)
0