結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー rythem00359rythem00359
提出日時 2020-09-02 00:43:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 18,940 KB
最終ジャッジ日時 2023-08-13 08:26:12
合計ジャッジ時間 3,172 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,836 KB
testcase_01 AC 15 ms
7,800 KB
testcase_02 AC 15 ms
7,940 KB
testcase_03 AC 15 ms
7,960 KB
testcase_04 AC 16 ms
7,836 KB
testcase_05 AC 28 ms
8,920 KB
testcase_06 AC 76 ms
12,808 KB
testcase_07 AC 137 ms
17,432 KB
testcase_08 AC 130 ms
18,940 KB
testcase_09 AC 110 ms
17,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
l=len(s)
c=s.count('o')
ans=[]
for i in s:
    ans.append('{:.12f}'.format(c*100/l))
    if i=='o':c-=1
    l-=1
print(*ans,sep='\n')
0