_Mattia_'s blog

By _Mattia_, history, 2 months ago, In English,

Hi guys, i'm resolving Thanos Sort: i've written my program and compiled on my PC, the result for the case: 16 78 16 40 90 4 13 99 19 41 47 50 68 71 79 96 76 is correct, my prorìgram on my pc returns 4. But when i compile and run on codeforces the output is 1. Can you help me please? I attach my program Thanks

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

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

Try custom invocation on Codeforces.

  • »
    »
    2 months ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

    Hi arpit4427. Thanks for your response: there was a logical error in the program. In any case, thanks for your kindness. Hope you have a great day Mattia

»
2 months ago, # |
  Vote: I like it +12 Vote: I do not like it

No problem link. Not well formatted blog. No code link or block attached in blog. If you'd expect someone to do the work for you, try some effort yourself maybe? Don't expect your helper to go to your profile and search in your submissions for why you go wrong....

PS: I was hoping for an early Enchom reply...

  • »
    »
    2 months ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

    Hi Zeus I am grateful that you have found a moment to answer me. First of all, forgive me if I have not put links and if I have not formatted the blog well, but i'm just arrived on this platform. I absolutely don't want anyone to make any effort for me so I have already solved my problem by delivering a correct version of the program. Next time I'll be more careful. Thanks a lot again Hope you have a good day Mattia