Execution Time!

Revision en1, by hmrockstar, 2017-02-23 21:49:39

Hello Everybody!

For "ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined)" Problem C the given n is 105 and the max possible sum is 10 5 * 10 9 i.e., 1014. For the worst case, my code's complexity is: log(1014)*n. And in worst case it will be approximately 50*105 . I was expecting that my code will get Accepted easily, coz given time limit is 2.5 sec, but its exceeding time limit on 101 test case which is 100000 2 .

Isn't it possible to execute 5*106 in 2.5 sec?

Thank you very much for reading!

Link to submission: 24944382

Tags #timelimit

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English hmrockstar 2017-02-24 11:39:28 50
en2 English hmrockstar 2017-02-23 21:59:37 65
en1 English hmrockstar 2017-02-23 21:49:39 718 Initial revision (published)