Submission #658491

# Submission time Handle Problem Language Result Execution time Memory
658491 2022-11-13T10:22:11 Z beaconmc Cities (BOI16_cities) PyPy 3
0 / 100
871 ms 83320 KB
n,k,m = map(int, input().split())

imp = list(map(int, input().split()))

edges = [[] for i in range(200001)]

for i in range(m):
    a,b,c = map(int, input().split())
    edges[a].append([b,c])
    edges[b].append([a,c])

dists = [[1000000000 for i in range(200001)] for i in range(5)] 
# Verdict Execution time Memory Grader output
1 Incorrect 63 ms 34680 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 818 ms 83320 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 117 ms 37284 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 871 ms 82164 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 778 ms 82224 KB Output isn't correct
2 Halted 0 ms 0 KB -