結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
![]() |
提出日時 | 2018-04-13 15:47:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 344 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,696 KB |
最終ジャッジ日時 | 2024-06-26 21:40:53 |
合計ジャッジ時間 | 5,300 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 TLE * 1 -- * 3 |
ソースコード
import sys def a(str): print(str, file=sys.stderr) o_count = str.count("o") print(o_count, file=sys.stderr) x_count = str.count("x") print(x_count, file=sys.stderr) ret = o_count / (o_count + x_count ) * 100 print(ret) first = input() for i in range(len(first)): a(first) first = first[1:]