結果

問題 No.758 VVVVV
ユーザー tailstails
提出日時 2018-12-06 18:43:14
言語 cLay
(20240104-1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 129 bytes
コンパイル時間 2,919 ms
コンパイル使用メモリ 174,148 KB
実行使用メモリ 11,364 KB
最終ジャッジ日時 2023-09-19 00:10:11
合計ジャッジ時間 4,395 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 2 ms
9,540 KB
testcase_02 AC 3 ms
9,612 KB
testcase_03 AC 10 ms
11,320 KB
testcase_04 AC 6 ms
10,296 KB
testcase_05 AC 5 ms
10,096 KB
testcase_06 AC 4 ms
10,116 KB
testcase_07 AC 10 ms
11,320 KB
testcase_08 AC 6 ms
10,540 KB
testcase_09 AC 4 ms
9,756 KB
testcase_10 AC 5 ms
10,240 KB
testcase_11 AC 11 ms
11,360 KB
testcase_12 AC 4 ms
9,912 KB
testcase_13 AC 5 ms
9,984 KB
testcase_14 AC 4 ms
9,944 KB
testcase_15 AC 3 ms
9,668 KB
testcase_16 AC 3 ms
9,688 KB
testcase_17 AC 9 ms
11,116 KB
testcase_18 AC 6 ms
10,424 KB
testcase_19 AC 10 ms
11,332 KB
testcase_20 AC 4 ms
9,896 KB
testcase_21 AC 5 ms
9,936 KB
testcase_22 AC 10 ms
11,364 KB
testcase_23 AC 3 ms
9,544 KB
testcase_24 AC 3 ms
9,544 KB
testcase_25 AC 2 ms
9,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,r,a[2d5],u[2d5];combination_mint c;
{
rd(n,(a,(a+1))(n-1));
r+=!u[a[0..n-2]]++;
c.init(n--);
wt(c.C(n,r)*c.C(n,r-1)/n+!r);
}
0