結果
| 問題 |
No.2041 E-mail Address
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 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 |
ソースコード
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)