In the problem statement it is said that length of roads will be maximum 1000.
But in Test case 4 and more other test case it was given more than 1000.
Can anyone clarify me whether I have wrong understanding or not.
Thanks.
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
In the problem statement it is said that length of roads will be maximum 1000.
Название |
---|
Sometimes you need to use more than one road to get from one town to another, so the shortest distance could be larger that 1000.
Also:
"Then there follow n lines with n integer numbers each — the matrix of shortest distances"
Test 4:
The length of planned roads cannot be larger than 1000, but the shortest distance using existing roads can be larger.
P.S. Sorry for my poor English