Things that I thought didn't matter in JAVA :(

Revision en1, by humblefool6996, 2021-10-14 12:51:28

In Codeforces Round #748:

Q3. Save more mice

My code in java got TLE in System testcases (all pretests got passed) coz I used 'int' array instead 'Integer' array, crying in corner:(

Integer arr[n]; (Accepted)
int arr[n];      (TLE)

Now I'm not sure whether I should spend time in figuring this out and seek help on this issue or just ignore it. This is the first time I'm facing this. Like why should it matter??

Open to suggestions :)

Tags java, array, integer, tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English humblefool6996 2021-10-14 12:51:28 584 Initial revision (published)