結果

問題 No.2767 Add to Divide
ユーザー 👑 p-adicp-adic
提出日時 2024-05-08 13:33:12
言語 cLay
(20240420-1)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 95 bytes
コンパイル時間 9,992 ms
コンパイル使用メモリ 221,128 KB
実行使用メモリ 86,784 KB
最終ジャッジ日時 2024-05-08 14:06:31
合計ジャッジ時間 10,734 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
86,656 KB
testcase_01 AC 66 ms
86,784 KB
testcase_02 AC 67 ms
86,400 KB
testcase_03 AC 67 ms
86,656 KB
testcase_04 AC 66 ms
86,656 KB
testcase_05 AC 66 ms
86,656 KB
testcase_06 AC 66 ms
86,656 KB
testcase_07 AC 66 ms
86,656 KB
testcase_08 AC 67 ms
86,656 KB
testcase_09 AC 73 ms
86,656 KB
testcase_10 AC 68 ms
86,656 KB
testcase_11 AC 68 ms
86,656 KB
testcase_12 AC 78 ms
86,656 KB
testcase_13 AC 69 ms
86,656 KB
testcase_14 AC 68 ms
86,656 KB
testcase_15 AC 67 ms
86,784 KB
testcase_16 AC 66 ms
86,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@T,D[1d7];rep(T){ll@A,@B,r=Divisor(B-A,D)-1;while(r&&D[r-1]>=A)r--;wt(A<B?max(D[r]-A,-1):0);}
0