結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー convexineqconvexineq
提出日時 2021-03-11 19:00:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 167 ms / 2,000 ms
コード長 118 bytes
コンパイル時間 332 ms
コンパイル使用メモリ 81,896 KB
実行使用メモリ 76,392 KB
最終ジャッジ日時 2024-04-21 07:57:18
合計ジャッジ時間 3,132 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,688 KB
testcase_01 AC 37 ms
52,984 KB
testcase_02 AC 38 ms
53,088 KB
testcase_03 AC 38 ms
53,464 KB
testcase_04 AC 46 ms
60,324 KB
testcase_05 AC 68 ms
67,428 KB
testcase_06 AC 111 ms
76,392 KB
testcase_07 AC 167 ms
76,244 KB
testcase_08 AC 83 ms
76,192 KB
testcase_09 AC 74 ms
75,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
o = s.count("o")
t = len(s)
for i,si in enumerate(s):
    print(100*o/t)
    if si=="o": o -= 1
    t -= 1
0