CarViz's blog

By CarViz, history, 2 months ago, In English

like bro the given test cases wont even work for my code so its kinda scary its either i get it first try (because im the goat) or i give up

  • Vote: I like it
  • -22
  • Vote: I do not like it

»
2 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

If you are solving an olympiad problem, then it comes up with a grader. And if not, then you can make your own grader or just make an ask(x,y,z...) function in your code, which will interact with your code during debugging. Personally interactive problems are way more fun to me. And also stop posting unnecessary things here.

»
2 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

In like the one interactive problem I've done (G with the hidden vertex on a tree on the recent div 3 contest), I just drew up a tree on paper and played around with it typing different queries manually to make sure it works.