結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
|
提出日時 | 2018-10-25 14:03:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 209 ms / 2,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-19 05:41:43 |
合計ジャッジ時間 | 2,519 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
s = input() o = s.count('o') x = s.count('x') t = len(s) for i in s: if i == 'o': print((o/t)*100) o -= 1 t -= 1 else: print((o/t)*100) t -= 1