Array<'Int> get's TLE, while IntArray get's AC

Правка en1, от pallav12, 2021-04-02 20:05:06

While trying to solve this, I made 2 submissions with only difference in using Array<Array<Int>> instead of Array<IntArray>.

  1. IntArray got AC in 546 ms
  2. Array got TLE with more then 3 sec

Can anyone please explain reason for this?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pallav12 2021-04-02 20:05:06 465 Initial revision (published)