結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
![]() |
提出日時 | 2019-08-17 22:24:33 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 232 ms / 2,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 233 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-09-25 07:43:12 |
合計ジャッジ時間 | 2,954 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
S=input() o_cnt=S.count("o") x_cnt=S.count("x") for i in range(len(S)): print(o_cnt*100/(o_cnt+x_cnt)) if S[i]=="o": o_cnt-=1 else: x_cnt-=1