結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー gorugo30gorugo30
提出日時 2021-02-24 11:34:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 167 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 81,720 KB
実行使用メモリ 75,756 KB
最終ジャッジ日時 2023-10-24 18:44:14
合計ジャッジ時間 2,935 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,380 KB
testcase_01 AC 37 ms
53,376 KB
testcase_02 AC 38 ms
53,380 KB
testcase_03 AC 38 ms
53,380 KB
testcase_04 AC 46 ms
58,940 KB
testcase_05 AC 64 ms
66,500 KB
testcase_06 AC 112 ms
75,676 KB
testcase_07 AC 167 ms
75,756 KB
testcase_08 AC 79 ms
75,684 KB
testcase_09 AC 74 ms
75,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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