結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー hisaharuhisaharu
提出日時 2018-03-31 22:49:31
言語 Python2
(2.7.18)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 6,680 KB
実行使用メモリ 9,152 KB
最終ジャッジ日時 2023-09-08 10:22:57
合計ジャッジ時間 2,483 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,884 KB
testcase_01 AC 10 ms
5,952 KB
testcase_02 AC 11 ms
5,940 KB
testcase_03 AC 11 ms
5,856 KB
testcase_04 AC 11 ms
5,936 KB
testcase_05 AC 18 ms
6,156 KB
testcase_06 AC 50 ms
7,236 KB
testcase_07 AC 89 ms
9,072 KB
testcase_08 AC 78 ms
9,152 KB
testcase_09 AC 73 ms
9,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = raw_input()
N = len(S)
c = S.count("o")
for i in range(N):
    print 100.0 * c / (N-i)
    c -= 1 if S[i]=="o" else 0
0