結果

問題 No.1200 お菓子配り-3
ユーザー tailstails
提出日時 2020-08-29 02:03:38
言語 cLay
(20240104-1)
結果
AC  
実行時間 87 ms / 4,000 ms
コード長 148 bytes
コンパイル時間 7,428 ms
コンパイル使用メモリ 220,956 KB
実行使用メモリ 10,684 KB
最終ジャッジ日時 2023-09-19 01:03:48
合計ジャッジ時間 9,246 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
10,540 KB
testcase_01 AC 10 ms
10,572 KB
testcase_02 AC 10 ms
10,416 KB
testcase_03 AC 10 ms
10,556 KB
testcase_04 AC 10 ms
10,444 KB
testcase_05 AC 10 ms
10,412 KB
testcase_06 AC 10 ms
10,416 KB
testcase_07 AC 10 ms
10,416 KB
testcase_08 AC 10 ms
10,472 KB
testcase_09 AC 11 ms
10,492 KB
testcase_10 AC 10 ms
10,464 KB
testcase_11 AC 10 ms
10,484 KB
testcase_12 AC 12 ms
10,536 KB
testcase_13 AC 13 ms
10,644 KB
testcase_14 AC 13 ms
10,452 KB
testcase_15 AC 12 ms
10,516 KB
testcase_16 AC 13 ms
10,508 KB
testcase_17 AC 20 ms
10,484 KB
testcase_18 AC 24 ms
10,420 KB
testcase_19 AC 13 ms
10,460 KB
testcase_20 AC 37 ms
10,536 KB
testcase_21 AC 38 ms
10,512 KB
testcase_22 AC 43 ms
10,684 KB
testcase_23 AC 38 ms
10,480 KB
testcase_24 AC 37 ms
10,496 KB
testcase_25 AC 38 ms
10,660 KB
testcase_26 AC 38 ms
10,492 KB
testcase_27 AC 10 ms
10,504 KB
testcase_28 AC 87 ms
10,492 KB
testcase_29 AC 41 ms
10,536 KB
testcase_30 AC 42 ms
10,516 KB
testcase_31 AC 10 ms
10,444 KB
testcase_32 AC 10 ms
10,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll s,t,x,y,d[1d3];{rd(s);REP(s){s=0;rd(x,y);REP[d](a,Divisor(x+y,d))s+=(a-=2)|x-y?a>0&&(x-y)%a==0?t=(x+y)/(a+2),a=abs(x-y)/a,t+~a&t>a:0:x-1;wt(s);}}
0