結果

問題 No.2041 E-mail Address
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-08-19 21:49:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 47 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 81,860 KB
実行使用メモリ 62,256 KB
最終ジャッジ日時 2024-04-17 00:31:11
合計ジャッジ時間 1,231 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,604 KB
testcase_01 AC 34 ms
52,536 KB
testcase_02 AC 38 ms
52,704 KB
testcase_03 AC 37 ms
51,876 KB
testcase_04 AC 37 ms
52,376 KB
testcase_05 AC 35 ms
52,416 KB
testcase_06 AC 35 ms
52,104 KB
testcase_07 AC 41 ms
60,028 KB
testcase_08 AC 40 ms
58,632 KB
testcase_09 AC 40 ms
58,380 KB
testcase_10 AC 41 ms
60,000 KB
testcase_11 AC 47 ms
62,256 KB
testcase_12 AC 39 ms
58,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t = input()
f = 0
ans = []
for i in t:
    if i == "(":
        ans.append("@")
        f = 1
    elif i == ")":
        f = 0
    elif f == 0:
        ans.append(i)
print(*ans,sep="")
0