Please read the new rule regarding the restriction on the use of AI tools. ×

subscriber Hacking during Contests

Revision en1, by vkditya0997, 2015-12-28 20:22:51

Recently,

I have seen subscriber 's youtube channel, It is very useful and I thank all the coders who upload their screencasts and helping for the community.

Interesting thing is,
He uses some C++ code to generate random test cases to test his solution and to hack some other's solution
I would like to hear some tips on how to generate random test cases in C++ ?

Yeah , rand() function can be used but shows same integer every time after it's execution.
So, It would be interesting, If some of the coders in this community share their tips on how to generate those test cases.
I even like to see tourist coding during codeforces/topcoder/codechef rounds.

Hope that he notices this post and uploads screencast as Petr, Egor, subscriber does :)

Tags hacking, help, thanks, topcoder

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vkditya0997 2015-12-28 21:10:03 195 Tiny change: 'br/p
en1 English vkditya0997 2015-12-28 20:22:51 1004 Initial revision (published)