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