結果
| 問題 | No.667 Mice's Luck(ネズミ達の運) |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-13 17:44:51 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 82 ms / 2,000 ms |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 378 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 81,152 KB |
| 最終ジャッジ日時 | 2026-04-04 20:08:24 |
| 合計ジャッジ時間 | 2,687 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
s = input()
o = s.count("o")
x = s.count("x")
for c in s:
print(format(o / (o + x) * 100, ".8f"))
if c == "o":
o -= 1
else:
x -= 1
ohana