結果
問題 |
No.1220 yukipoker
|
ユーザー |
|
提出日時 | 2020-09-07 10:25:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 783 ms / 2,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 28,160 KB |
最終ジャッジ日時 | 2024-11-29 10:20:03 |
合計ジャッジ時間 | 8,025 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
import itertools import math a=[math.log(i) for i in range(1,2*10**5)] a=list(itertools.accumulate([0]+a)) for _ in range(int(input())): N,M,K=map(int,input().split()) if math.log(M)+a[N]-a[K]-a[N-K]<math.log(N-K+1)+K*math.log(M): print("Flush") else: print("Straight")