結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー kohei2019kohei2019
提出日時 2022-03-08 22:12:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 193 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 1,289 ms
コンパイル使用メモリ 86,884 KB
実行使用メモリ 77,484 KB
最終ジャッジ日時 2023-10-01 04:38:44
合計ジャッジ時間 3,611 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,260 KB
testcase_01 AC 71 ms
71,312 KB
testcase_02 AC 72 ms
71,180 KB
testcase_03 AC 80 ms
71,420 KB
testcase_04 AC 90 ms
75,336 KB
testcase_05 AC 124 ms
76,444 KB
testcase_06 AC 140 ms
77,484 KB
testcase_07 AC 193 ms
77,216 KB
testcase_08 AC 110 ms
77,256 KB
testcase_09 AC 101 ms
77,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
N = len(S)
cnto = S.count('o')
for i in range(N):
    print(cnto/(N-i)*100)
    if S[i] == 'o':
        cnto -= 1
0