faboulusb's blog

By faboulusb, history, 5 hours ago, In English

I started with building the logic to solve the problem and figured that then I wrote the java code for the algorithm but I got the verdict as Time Limit exceeded on pretest 7 and then I tried the same algorithm with C++ and I got shocked by the verdict as it accepted the code without any error. This is somewhat unfair for the java developers . For smooth verification of my aligations I am giving both the submission I'D s . Java code — 278791943 C++ code — 278810043

  • Vote: I like it
  • -6
  • Vote: I do not like it

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

SecondThread made a whole video talking about problems like this in java and why he's switching to kotlin

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

C++ is much more faster than Java

»
4 hours ago, # |
  Vote: I like it +10 Vote: I do not like it

Don't bring a knife to a gunfight.

»
4 hours ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

yup I also faced the same issue, but don't know how this submission got AC 278851620, whereas this 278850729 is getting TLE

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

bro after seeing your profile i got to know that you are one of the person who does cheating in contest by seeing the skipped ... solutions.. that shows you cheated in contest ..

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    for this query, let's not pay attention to whether this person cheats or not, but pay attention to solving the problem he is asking, or else people will focus more on that instead of finding out the solution to the java discrepancy.

»
3 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Here you go — 278926956