結果
| 問題 |
No.2041 E-mail Address
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-01 14:27:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 146 bytes |
| コンパイル時間 | 126 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-07-08 00:47:56 |
| 合計ジャッジ時間 | 1,316 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
ソースコード
t = input()
idx_a = t.find('(')
if idx_a != -1:
idx_b = t.find(')', idx_a)
if idx_b != -1:
t = t[:idx_a] + '@' + t[idx_a+1:idx_b+1]
print(t)