fie_claussell's blog

By fie_claussell, history, 3 years ago, In English

Sorry for asking here, since I can't find the information on usaco website.

Specifically, it's for this problem (http://www.usaco.org/index.php?page=viewproblem2&cpid=194#). My submission got accepted on usaco judge (https://ideone.com/dRl8T2) but fails on the following test cases

1 2
()
Correct: 1
Mine: 0

1 6
()(())
Correct: 4
Mine: 2

In general, my code should've failed on test cases where there exist concurrently balanced brackets starting at index 0.

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

»
3 years ago, # |
  Vote: I like it +17 Vote: I do not like it

You could email Brian Dean or someone, but I doubt they will do anything about it. Another problem has weak test data (USACO Gold Talent Show), usaco.guide has an explanation of a solution that is wrong but somehow passes.

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by fie_claussell (previous revision, new revision, compare).