lightning_mcqueen's blog

By lightning_mcqueen, history, 10 months ago, In English

Problem B has weak test cases.

Spoiler

My code got ac verdict but fails on test case

1
6 6
1 2 3 4 5 6 
5 5 5 5 1 1

Output should be 5 but it gives 6.

PS-From around ranks 1200 to 2100, people solved only problems A and B most of them have wrong sol for B.

Full text and comments »

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