結果
| 問題 | No.574 正多面体サイコロ |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2025-03-25 06:16:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 228 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 303,128 KB |
| 最終ジャッジ日時 | 2026-07-07 21:24:15 |
| 合計ジャッジ時間 | 48,013 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 19 |
ソースコード
F,N,K=map(int,input().split())
from random import randint
from time import time
time0=time()
LIST=[]
while time()-time0<1.85:
A=[randint(1,F) for i in range(N)]
A.sort(reverse=True)
LIST.append(A[K-1])
print(sum(LIST)/len(LIST))
titia