# 题目

## D. Complete The Graph

## 题面

time limit per test：4 seconds

memory limit per test：256 megabytes

input：standard input

output：standard output

ZS the Coder has drawn an undirected graph of *n* vertices numbered from 0 to *n* - 1 and *m* edges between them. Each edge of the graph is weighted, each weight is a **positive integer**.

The next day, ZS the Coder realized that some of the weights were erased! So he wants to reassign positive integer weight to each of the edges which weights were erased, so that the length of the shortest path between vertices *s* and *t* in the resulting graph is exactly *L*. Can you help him?