結果

問題 No.1164 GCD Products hard
ユーザー tailstails
提出日時 2020-09-18 19:13:16
言語 cLay
(20240104-1)
結果
AC  
実行時間 193 ms / 2,500 ms
コード長 137 bytes
コンパイル時間 2,759 ms
コンパイル使用メモリ 173,004 KB
実行使用メモリ 9,640 KB
最終ジャッジ日時 2023-09-19 01:17:45
合計ジャッジ時間 6,803 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
9,308 KB
testcase_01 AC 152 ms
9,492 KB
testcase_02 AC 111 ms
9,240 KB
testcase_03 AC 39 ms
8,004 KB
testcase_04 AC 33 ms
8,220 KB
testcase_05 AC 130 ms
9,440 KB
testcase_06 AC 150 ms
9,596 KB
testcase_07 AC 147 ms
9,468 KB
testcase_08 AC 134 ms
9,516 KB
testcase_09 AC 105 ms
9,032 KB
testcase_10 AC 39 ms
7,936 KB
testcase_11 AC 115 ms
9,240 KB
testcase_12 AC 158 ms
9,640 KB
testcase_13 AC 96 ms
8,756 KB
testcase_14 AC 55 ms
9,060 KB
testcase_15 AC 147 ms
9,476 KB
testcase_16 AC 74 ms
9,236 KB
testcase_17 AC 129 ms
9,176 KB
testcase_18 AC 112 ms
9,076 KB
testcase_19 AC 32 ms
8,068 KB
testcase_20 AC 66 ms
8,376 KB
testcase_21 AC 169 ms
9,460 KB
testcase_22 AC 3 ms
7,428 KB
testcase_23 AC 36 ms
9,516 KB
testcase_24 AC 193 ms
9,440 KB
testcase_25 AC 2 ms
7,480 KB
testcase_26 AC 3 ms
7,468 KB
testcase_27 AC 3 ms
7,500 KB
testcase_28 AC 2 ms
7,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

int s[7d5],a,b,n,j;{Mint u=1;rd(a--,b,n);REP[s](p,Prime(b+1,s)){ll i=0,q=p;for(;j=b/q-a/q;q*=p)i+=powmod(j,n,MD-1);u*=Mint(p)**i;}wt(u);}
0