結果
| 問題 | No.667 Mice's Luck(ネズミ達の運) |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-13 17:44:51 |
| 言語 | PyPy3 (7.3.23 + ac-library) |
| 結果 |
AC
不安定
|
| 実行時間 | 108 ms / 2,000 ms |
| + 938µs | |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,972 KB |
| 実行使用メモリ | 84,608 KB |
| 最終ジャッジ日時 | 2026-08-28 01:39:36 |
| 合計ジャッジ時間 | 3,388 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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