Блог пользователя Noche_1

Автор Noche_1, история, 6 лет назад, По-английски

this problem

there is a test case like this:

3

1 P

2 R

3 P

accepted solutions output the answer of this test equal to 3 but why the answer isn't 2?

you can simply connect adjacent cities

Am I right or the test is invalid?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится