結果

問題 No.2041 E-mail Address
ユーザー flygonflygon
提出日時 2022-10-07 21:04:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 86,728 KB
実行使用メモリ 76,124 KB
最終ジャッジ日時 2023-09-02 22:54:28
合計ジャッジ時間 2,574 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,028 KB
testcase_01 AC 78 ms
71,260 KB
testcase_02 AC 79 ms
71,160 KB
testcase_03 AC 75 ms
71,452 KB
testcase_04 AC 77 ms
71,172 KB
testcase_05 AC 78 ms
71,024 KB
testcase_06 AC 76 ms
71,028 KB
testcase_07 AC 81 ms
75,916 KB
testcase_08 AC 79 ms
75,664 KB
testcase_09 AC 79 ms
75,500 KB
testcase_10 AC 79 ms
75,748 KB
testcase_11 AC 80 ms
76,124 KB
testcase_12 AC 80 ms
75,532 KB
権限があれば一括ダウンロードができます

ソースコード

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