結果

問題 No.3078 Very Simple Traveling Salesman Problem
ユーザー OR6107OR6107
提出日時 2021-04-01 22:59:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 77,456 KB
最終ジャッジ日時 2023-08-23 06:40:46
合計ジャッジ時間 2,181 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,288 KB
testcase_01 AC 69 ms
71,356 KB
testcase_02 AC 71 ms
71,380 KB
testcase_03 AC 138 ms
77,288 KB
testcase_04 AC 99 ms
77,252 KB
testcase_05 AC 95 ms
76,628 KB
testcase_06 AC 72 ms
71,420 KB
testcase_07 AC 111 ms
77,368 KB
testcase_08 AC 97 ms
77,076 KB
testcase_09 AC 129 ms
77,360 KB
testcase_10 AC 146 ms
77,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int,input().split())
a = 10**10
for i in range(m):
    u,v,w = map(int,input().split())
    a = min(a,w)
print(n)
0