結果

問題 No.2041 E-mail Address
ユーザー ninja-kidninja-kid
提出日時 2022-11-28 17:28:19
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 232 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 86,732 KB
実行使用メモリ 76,020 KB
最終ジャッジ日時 2023-07-28 07:09:13
合計ジャッジ時間 2,593 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,316 KB
testcase_01 AC 72 ms
70,996 KB
testcase_02 AC 74 ms
71,220 KB
testcase_03 AC 73 ms
71,316 KB
testcase_04 AC 72 ms
71,228 KB
testcase_05 AC 71 ms
70,780 KB
testcase_06 AC 71 ms
71,280 KB
testcase_07 AC 75 ms
75,744 KB
testcase_08 AC 75 ms
75,420 KB
testcase_09 AC 76 ms
75,524 KB
testcase_10 AC 76 ms
75,460 KB
testcase_11 AC 77 ms
76,020 KB
testcase_12 AC 75 ms
75,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = input()
flg = False
ans = []
for t in T:
    if t == ")":
        flg = False
        ans.append("@")
    elif t == "(":
        flg = True
    else:
        if flg:
            continue
        ans.append(t)
print(''.join(ans))
0