結果
問題 |
No.574 正多面体サイコロ
|
ユーザー |
![]() |
提出日時 | 2025-03-25 06:16:35 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 260 ms |
コンパイル使用メモリ | 82,368 KB |
実行使用メモリ | 249,772 KB |
最終ジャッジ日時 | 2025-03-25 06:17:22 |
合計ジャッジ時間 | 47,032 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))