Sussy behaviour on usaco problem

Правка en1, от Lemur95, 2022-04-25 15:50:59

Hello CF community,

I was solving problem 3 (Balancing Tree) from last USACO round, when I encountered some sussy behaviour. I submited my code, which in local testing passed both the examples, but upon grading, it passed only 1, the other one being WA. I have locally tested another subtask, with the same result (local testing led to a good result, but WA on grading).

Here is the code and here is the problem link. Hope I was clear enough with my issue and thanks in advance!

Have a good day!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Lemur95 2022-04-25 15:50:59 627 Initial revision (published)