結果

問題 No.1220 yukipoker
ユーザー tailstails
提出日時 2020-09-04 22:06:56
言語 cLay
(20240104-1)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 1,989 ms
コンパイル使用メモリ 160,604 KB
実行使用メモリ 6,836 KB
最終ジャッジ日時 2023-09-19 01:06:47
合計ジャッジ時間 6,041 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,292 KB
testcase_01 AC 6 ms
5,088 KB
testcase_02 AC 6 ms
5,056 KB
testcase_03 AC 6 ms
4,996 KB
testcase_04 AC 6 ms
5,028 KB
testcase_05 AC 6 ms
5,052 KB
testcase_06 AC 6 ms
5,092 KB
testcase_07 AC 6 ms
5,052 KB
testcase_08 AC 6 ms
5,056 KB
testcase_09 AC 6 ms
5,020 KB
testcase_10 AC 6 ms
5,108 KB
testcase_11 AC 13 ms
6,008 KB
testcase_12 AC 13 ms
6,072 KB
testcase_13 AC 21 ms
6,748 KB
testcase_14 AC 20 ms
6,780 KB
testcase_15 AC 15 ms
6,336 KB
testcase_16 AC 17 ms
6,556 KB
testcase_17 AC 12 ms
5,972 KB
testcase_18 AC 14 ms
6,188 KB
testcase_19 AC 20 ms
6,828 KB
testcase_20 AC 21 ms
6,836 KB
testcase_21 AC 6 ms
5,028 KB
testcase_22 AC 6 ms
5,088 KB
testcase_23 AC 6 ms
5,040 KB
testcase_24 AC 6 ms
5,048 KB
testcase_25 AC 6 ms
5,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll q,n,m,k;
double f[2d5];
{
	rep(i,1,2d5)f[i]=f[i-1]+log(i);
	rd(q);
	rep(q){
		rd(n,m,k);
		double F=f[n]-f[k]-f[n-k]+log(m);
		double S=log(n-k+1)+log(m)*k;
		wt(F<S?"Flush":"Straight","");
	}
}
0