結果
| 問題 |
No.2041 E-mail Address
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-26 16:09:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 328 bytes |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 59,904 KB |
| 最終ジャッジ日時 | 2024-10-13 17:23:25 |
| 合計ジャッジ時間 | 1,514 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
def solve():
t = input()
s = ""
flg = False
for i in range(len(t)):
if not flg:
if t[i] == "(":
flg = True
s += "@"
continue
s += t[i]
else:
if t[i] == ")":
flg = False
return s
print(solve())