YocyCraft's blog

By YocyCraft, history, 23 months ago, In English

Today I got 1700ms after many TLEs in problem 1774F1

submission in java17

Then I submitted the same code in java8 again then got 1352ms

submission in java8

It seems that java8 performs better

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

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

Upd: I know it's best to submit in c++

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

Perhaps the implementation of java.lang.String has been changed in java9, which affected the time cost of IO?