Why the answer of 1-test is 1
4
1 2
2 3
3 4
. we can choose road(1,2) for the first path, anh road(3,4) for the second path.
So the answer is 2. Why not ?:(
№ | Пользователь | Рейтинг |
---|---|---|
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 |
Название |
---|
altought we choose road(1,2) for the first path and road (3,4) for the second path,but the answer is
1*1 ==> 1 NOT 1+1==>2
read the problem carefully
altough we choose road(1,2) for the first path and road (3,4) for the second path,but the answer is
1*1 ==> 1 NOT 1+1==>2
read the problem carefully
In sample input, you choose road(1,2)->length 1 and road(3,4)-> length 1, thus the result is 1 X 1 equal to 1
I used Google translate. And This didn't give me that the profit is the result
of the multiplication of the length of two paths.
"Because "It is known that the profit, the "Two Paths" company will get, equals the !product of the lengths of the two paths."
"
I've not undestand the word "product" correctly.
Thanks for your helps.