結果
| 問題 | No.1220 yukipoker |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-05 00:44:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 159 ms |
| コンパイル使用メモリ | 81,664 KB |
| 実行使用メモリ | 85,632 KB |
| 最終ジャッジ日時 | 2024-11-26 21:16:50 |
| 合計ジャッジ時間 | 4,545 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 25 |
ソースコード
from math import log2
from itertools import accumulate
x=[0]+[log2(i) for i in range(1,10**5+1)]
a=list(accumulate(x))
for _ in range(int(input())):
n,m,k=map(int,input().split())
ans=["Flush","Straight"]
print(ans[a[n-1]-a[n-k]>(k-1)*log2(m)])