Getting a lot of wrong Answer

Revision en1, by fighting_dreamer, 2018-12-25 21:37:18

Hi,

I am getting a lot of wrong answers for the "acmguru" section. I tried 987654321 problem problem

my code : ideone-link I got the wrong answer here.

I have 2 fold Issue :

  1. I just wanted to know if there is some issue like the "int" holds till certain range that is different from what I get to use in the usual codeforces contest code.{I usually compile n execute my code via : GNU C++11}

  2. In case this is coz of my mis-interpretation (or otherwise also) then please help me in how to meet the code`s requirements like some problems require "0.25 sec" execution time else they give TLE and usually It seems that it is a O(n^2) or higher problem.

Tags #help, issue?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fighting_dreamer 2018-12-25 21:37:18 796 Initial revision (published)