結果
問題 | No.1127 変形パスカルの三角形 |
ユーザー |
![]() |
提出日時 | 2020-07-26 13:17:11 |
言語 | cLay (20241019-1) |
結果 |
AC
|
実行時間 | 7 ms / 1,500 ms |
コード長 | 114 bytes |
コンパイル時間 | 3,907 ms |
コンパイル使用メモリ | 178,320 KB |
実行使用メモリ | 6,656 KB |
最終ジャッジ日時 | 2024-07-05 13:44:32 |
合計ジャッジ時間 | 4,979 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 30 |
ソースコード
{ll x,y,n,k;rd(x,y,n--,k--);Mint a=x,b=y;Comb<Mint>c;wtLn(c.C(n,k)*a+c.C(n,k-1)*b,c.C(2n,n)*(a*a+b*b-2a*b*n/~n));}