Ayola and Mex-Java Solution accepted when using Integer[] type array but TLE when using int[] array.Why?

Revision en1, by divyam01986, 2016-07-21 23:29:38

For this problem the solution is acceptable when an Integer[] array is used but not when the same algorithm is used with an int[] array. Why? Problem URL:http://www.codeforces.com/problemset/problem/682/B TLE Solution:http://www.codeforces.com/contest/682/submission/19309219 Accepted Solution: http://www.codeforces.com/contest/682/submission/19309197

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English divyam01986 2016-07-21 23:29:38 463 Initial revision (published)