Unhackable guide

Revision en1, by eidan, 2019-02-14 19:28:54

Last round involved a randomized solution for problem E, and some pretests were aimed against std's rand() function. Many participant's complained about doing tests against specific knowledge on language functions.

C++

Don't use rand
Careful with unordered_map

Java

Arrays.sort() may cause TLE!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en10 English eidan 2021-01-27 23:44:08 702
en9 English eidan 2019-02-16 20:32:20 8
en8 English eidan 2019-02-16 06:13:32 581 Tiny change: 'n instead.[More info' -> 'n instead. [More info'
en7 English eidan 2019-02-15 10:36:54 298
en6 English eidan 2019-02-15 10:20:34 176 Tiny change: 'n has low recursion limit">\n' -> 'n has low limit">\n'
en5 English eidan 2019-02-15 06:30:43 228
en4 English eidan 2019-02-15 00:22:49 878 Tiny change: ' a round. Since both side' -> ' a round. I think both side' (published)
en3 English eidan 2019-02-14 23:10:00 2284 Tiny change: 'se <math>O<sup>2</sup></math>. [' -> 'se <math>O(n<sup>2</sup>)</math>. ['
en2 English eidan 2019-02-14 20:28:05 1251
en1 English eidan 2019-02-14 19:28:54 971 Initial revision (saved to drafts)