結果

問題 No.2739 Time is money
ユーザー tailstails
提出日時 2024-04-21 23:48:50
言語 cLay
(20240104-1)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 4,151 ms
コンパイル使用メモリ 177,432 KB
実行使用メモリ 22,016 KB
最終ジャッジ日時 2024-04-21 23:48:58
合計ジャッジ時間 6,854 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 20 ms
14,080 KB
testcase_03 AC 48 ms
17,664 KB
testcase_04 AC 19 ms
13,568 KB
testcase_05 AC 27 ms
13,440 KB
testcase_06 AC 50 ms
15,104 KB
testcase_07 AC 98 ms
22,016 KB
testcase_08 AC 68 ms
21,888 KB
testcase_09 AC 72 ms
21,888 KB
testcase_10 AC 51 ms
20,224 KB
testcase_11 AC 113 ms
21,632 KB
testcase_12 AC 59 ms
20,992 KB
testcase_13 AC 59 ms
21,120 KB
testcase_14 AC 61 ms
21,120 KB
testcase_15 AC 30 ms
17,280 KB
testcase_16 AC 20 ms
16,768 KB
testcase_17 AC 96 ms
21,760 KB
testcase_18 AC 95 ms
21,760 KB
testcase_19 AC 29 ms
17,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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