Noche_1's blog

By Noche_1, history, 7 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +7
  • Vote: I do not like it