結果
問題 | No.1220 yukipoker |
ユーザー |
|
提出日時 | 2020-10-25 13:56:58 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 806 ms / 2,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 305 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 14,848 KB |
最終ジャッジ日時 | 2024-07-21 20:51:01 |
合計ジャッジ時間 | 9,677 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
from math import log2l = [0]for i in range(2, 100001):l.append(l[-1] + log2(i))for _ in range(int(input())):n, m, k = map(int, input().split())if l[n - 1] < l[n - k] + l[k - 1] + (k - 1) * log2(m):print("Flush")else:print("Straight")