結果
問題 | No.667 Mice's Luck(ネズミ達の運) |
ユーザー | NiER_Replicant6 |
提出日時 | 2018-03-23 23:02:31 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 379 ms |
コンパイル使用メモリ | 10,524 KB |
実行使用メモリ | 8,760 KB |
最終ジャッジ日時 | 2023-09-07 04:06:13 |
合計ジャッジ時間 | 4,196 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,708 KB |
testcase_01 | AC | 15 ms
7,820 KB |
testcase_02 | AC | 16 ms
7,784 KB |
testcase_03 | AC | 17 ms
7,788 KB |
testcase_04 | AC | 106 ms
7,780 KB |
testcase_05 | TLE | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
ソースコード
A = input() A = list(A) C=0 D=0 for i in range(len(A)): B = len(A) for i in A: if i=="o": C = C+1 if i=="x": D = D+1 print("{:.9}".format((C/B)*100)) C = 0 A.pop(0)