結果
問題 |
No.1220 yukipoker
|
ユーザー |
![]() |
提出日時 | 2020-09-09 23:11:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 290 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 14,848 KB |
最終ジャッジ日時 | 2024-12-17 13:05:04 |
合計ジャッジ時間 | 5,537 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 18 WA * 7 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() import math A=[1] for i in range(10**5): A.append(A[-1]+math.log(i+1)) q=int(input()) for _ in range(q): n,m,k=map(int,input().split()) f=A[n] s=(k-1)*math.log(m)+A[k]+A[n-k+1] if f<s: print("Flush") else: print("Straight")