結果
| 問題 |
No.1220 yukipoker
|
| ユーザー |
|
| 提出日時 | 2020-09-04 22:14:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 115,772 KB |
| 最終ジャッジ日時 | 2024-11-26 13:12:45 |
| 合計ジャッジ時間 | 52,539 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 |
| other | WA * 15 TLE * 10 |
ソースコード
from scipy.special import comb
import sys
read = sys.stdin.readline
q = int(read())
for _ in range(q):
n, m, k = map(int, read().split())
a = comb(n, k) * m
b = (n - k + 1) * pow(m, k)
if a < b:
print('Flush')
else:
print('Straight')