Блог пользователя CarViz

Автор CarViz, история, 7 месяцев назад, По-английски

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

  • Проголосовать: нравится
  • -22
  • Проголосовать: не нравится

»
7 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

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.

»
7 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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.