macaquedev's blog

By macaquedev, history, 15 months ago, In English

Manoj_mk phoenix_beast117 sukhbir0609 1091857051 cai_lian_2023 HARSHdeep1234 (I think that's all of you)

That was me. Hi, I guess.

Or rather, it was you, submitting in an old version of Java, and using Arrays.sort(), that caused you to get hacked. Unfortunately, it's possible to make Arrays.sort() take O(n^2) time when sorting primitive data types — and that's because it ends up defaulting to quicksort, and if I use a certain script that I don't even understand properly, I can create an array specifically to cause quicksort to use the worst possible pivot at each iteration. That's why you all got hacked.

If you don't want to be hacked or FST, use Collections.sort(). But also, why don't you just use the newer Java version?

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

| Write comment?
»
15 months ago, hide # |
 
Vote: I like it +137 Vote: I do not like it

That was me. Hi, I guess.

ts corny asl 🥀

»
15 months ago, hide # |
 
Vote: I like it +57 Vote: I do not like it

Deserved for using Java

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

IDK it's just me or HARSHdeep1234 never uses java just for that question D he used it seems kind of fishy?

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

sukhbit0609 guy — used python, go , java, javascript and c++ . GENIUS HARSHdeep1234 guy — used pyhton, go, rust, java, c++ . GENIUS manoj_mk guy — changes java to c++ to java in 6 min, all new codes . GENIUS

its not even funny anymore