結果

問題 No.2041 E-mail Address
ユーザー naga13
提出日時 2022-08-19 22:57:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 516 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-08 10:15:43
合計ジャッジ時間 1,506 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.py:3: SyntaxWarning: invalid escape sequence '\('
  A= re.sub("\(.+?\)", "@", T)
Main.py:4: SyntaxWarning: invalid escape sequence '\('
  A= re.sub("\(\)", "@",A)

ソースコード

diff #

import re 
T = input()
A= re.sub("\(.+?\)", "@", T)
A= re.sub("\(\)", "@",A)
print(A)

0