結果

問題 No.1164 GCD Products hard
ユーザー tailstails
提出日時 2020-09-18 18:47:57
言語 cLay
(20240104-1)
結果
AC  
実行時間 2,398 ms / 2,500 ms
コード長 131 bytes
コンパイル時間 3,424 ms
コンパイル使用メモリ 180,200 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-19 01:19:43
合計ジャッジ時間 40,806 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,594 ms
4,504 KB
testcase_01 AC 1,806 ms
4,376 KB
testcase_02 AC 1,306 ms
4,380 KB
testcase_03 AC 401 ms
4,400 KB
testcase_04 AC 420 ms
4,424 KB
testcase_05 AC 1,584 ms
4,380 KB
testcase_06 AC 1,927 ms
4,376 KB
testcase_07 AC 2,027 ms
4,376 KB
testcase_08 AC 2,008 ms
4,376 KB
testcase_09 AC 1,360 ms
4,376 KB
testcase_10 AC 360 ms
4,380 KB
testcase_11 AC 1,465 ms
4,380 KB
testcase_12 AC 1,921 ms
4,376 KB
testcase_13 AC 1,116 ms
4,380 KB
testcase_14 AC 1,294 ms
4,380 KB
testcase_15 AC 2,063 ms
4,380 KB
testcase_16 AC 1,439 ms
4,380 KB
testcase_17 AC 1,534 ms
4,380 KB
testcase_18 AC 1,388 ms
4,376 KB
testcase_19 AC 452 ms
4,380 KB
testcase_20 AC 716 ms
4,380 KB
testcase_21 AC 2,090 ms
4,380 KB
testcase_22 AC 4 ms
4,380 KB
testcase_23 AC 2,240 ms
4,500 KB
testcase_24 AC 2,398 ms
4,380 KB
testcase_25 AC 4 ms
4,376 KB
testcase_26 AC 5 ms
4,400 KB
testcase_27 AC 5 ms
4,380 KB
testcase_28 AC 4 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll a,b,n,i,j,q;Mint u=1;rd(a--,b,n);rep(p,b+1)if(isPrime(p)){for(i=0,q=p;j=b/q-a/q;q*=p)i+=powmod(j,n,MD-1);u*=Mint(p)**i;}wt(u);}
0