結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー mlihua09mlihua09
提出日時 2020-09-01 15:22:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 173 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 76,092 KB
最終ジャッジ日時 2024-04-29 20:16:41
合計ジャッジ時間 3,242 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
51,712 KB
testcase_01 AC 40 ms
51,840 KB
testcase_02 AC 42 ms
51,584 KB
testcase_03 AC 43 ms
51,840 KB
testcase_04 AC 53 ms
58,240 KB
testcase_05 AC 69 ms
65,536 KB
testcase_06 AC 116 ms
76,032 KB
testcase_07 AC 173 ms
76,032 KB
testcase_08 AC 81 ms
76,092 KB
testcase_09 AC 81 ms
75,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


S = input()

x = S.count('o')

N = len(S)

for i in range(N):
    
    print(x * 100 / (N - i))
    
    if S[i] == 'o':
        
        x -= 1
        
0