結果

問題 No.2739 Time is money
ユーザー 👑 p-adicp-adic
提出日時 2024-04-21 19:26:44
言語 cLay
(20240104-1)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 3,436 ms
コンパイル使用メモリ 177,484 KB
実行使用メモリ 22,016 KB
最終ジャッジ日時 2024-04-21 19:26:51
合計ジャッジ時間 5,790 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 1 ms
5,376 KB
testcase_02 AC 21 ms
14,080 KB
testcase_03 AC 51 ms
17,536 KB
testcase_04 AC 20 ms
13,696 KB
testcase_05 AC 27 ms
13,568 KB
testcase_06 AC 45 ms
15,104 KB
testcase_07 AC 99 ms
22,016 KB
testcase_08 AC 87 ms
22,016 KB
testcase_09 AC 70 ms
21,888 KB
testcase_10 AC 54 ms
20,224 KB
testcase_11 AC 105 ms
21,632 KB
testcase_12 AC 56 ms
20,992 KB
testcase_13 AC 60 ms
20,864 KB
testcase_14 AC 54 ms
21,120 KB
testcase_15 AC 31 ms
17,408 KB
testcase_16 AC 20 ms
16,768 KB
testcase_17 AC 119 ms
21,760 KB
testcase_18 AC 95 ms
21,504 KB
testcase_19 AC 27 ms
17,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@M,@X,a=0;int@(u,v,ll C,T)[M];rep[C,j](c,M)c+=T[j]*X;wgraph<ll>g;g.setEdge(N+1,M,u,v,C);a=g.getDistT(1,N,a);wt(a?a/+X:-1);
0