MathModel's blog

By MathModel, history, 4 weeks ago, In English

Well, In Case you've not already noticed , Now you can copy the test you're failing on some problem and run it locally and see what's going wrong.

Same goes for all tests.

Thanks for this cool addition :) !.

UPD: It kinda only works when you view from standings ig

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

»
4 weeks ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

This is very useful for debugging

»
4 weeks ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

wow ^_^

»
4 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Does this work in live contests also or it available only in practice?

  • »
    »
    4 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I think It'd be an unfair advantage in contests ideally , so the short answer is in practice only.

»
4 weeks ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

wow

»
4 weeks ago, hide # |
Rev. 2  
Vote: I like it +3 Vote: I do not like it

But on the other hand, it was really interesting and useful to find bug in the code. In my opinion

P.S Here is what I mean by 'interesting and useful'

  • »
    »
    4 weeks ago, hide # ^ |
    Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    Just don't copy the test (as it'll be truncated) 🤓

    (Note : I'm talking from the perspective of self-improving , if you're really aware , you'd not care and behave as if it doesn't exist)

  • »
    »
    4 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    ok I saw the second edit , valid lol.

»
4 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Still if the test case is large i never get to see it

»
4 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The "copy" test feature is great, but for large test cases it gets truncated (... at the end). Works perfectly on small tests though.

»
4 weeks ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

Actually it is only useful for those who doesn't know the shortcut (Ctrl + C, Ctrl + V) as you can't copy the large tests.. I hope they improve it so we can copy the whole tests.

»
4 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

So debugging is very convenient now!

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

nvm