結果

問題 No.1899 L1 Cafe
ユーザー FF256grhyFF256grhy
提出日時 2022-07-21 10:11:10
言語 cLay
(20231016-1)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 78 bytes
コンパイル時間 3,374 ms
コンパイル使用メモリ 160,972 KB
実行使用メモリ 5,452 KB
最終ジャッジ日時 2023-09-15 12:09:27
合計ジャッジ時間 7,117 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,356 KB
testcase_01 AC 32 ms
5,452 KB
testcase_02 AC 38 ms
5,376 KB
testcase_03 AC 13 ms
4,840 KB
testcase_04 AC 16 ms
4,836 KB
testcase_05 AC 8 ms
4,404 KB
testcase_06 AC 49 ms
5,340 KB
testcase_07 AC 18 ms
4,912 KB
testcase_08 AC 20 ms
4,816 KB
testcase_09 AC 18 ms
4,612 KB
testcase_10 AC 22 ms
4,964 KB
testcase_11 AC 29 ms
5,308 KB
testcase_12 AC 32 ms
5,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@t;rep(t){ll@n,@a,@b,x=n/a;wt(n*x+x*~x/2a-floor_sum(n/b,a,b-a*b,n%b*-~-a));}
0