結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
![]() |
提出日時 | 2019-02-02 00:28:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 215 ms / 2,000 ms |
コード長 | 243 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-24 12:57:51 |
合計ジャッジ時間 | 2,802 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
# coding: utf-8 data = input() number_of_box = len(data) box_safe = data.count('o') box_out = number_of_box - box_safe for i in range(number_of_box): print(box_safe / (number_of_box - i) * 100) if data[i] == 'o': box_safe -= 1