結果

問題 No.2041 E-mail Address
ユーザー とりゐとりゐ
提出日時 2022-08-19 21:58:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 61,824 KB
最終ジャッジ日時 2024-04-17 00:40:30
合計ジャッジ時間 1,479 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
51,456 KB
testcase_01 AC 44 ms
51,456 KB
testcase_02 AC 45 ms
51,712 KB
testcase_03 AC 46 ms
52,096 KB
testcase_04 AC 46 ms
51,840 KB
testcase_05 AC 44 ms
51,456 KB
testcase_06 AC 47 ms
51,584 KB
testcase_07 AC 61 ms
59,008 KB
testcase_08 AC 56 ms
58,496 KB
testcase_09 AC 55 ms
58,240 KB
testcase_10 AC 50 ms
58,496 KB
testcase_11 AC 57 ms
61,824 KB
testcase_12 AC 46 ms
58,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t=input()
flag=1
ans=[]
for i in t:
  if i in '()':
    flag^=1
    if flag==0:
      ans.append('@')
  elif flag:
    ans.append(i)

print(*ans,sep='')
0