CONFUSION: Time taken to operate int and double data type

Правка en1, от cheemsdog, 2021-03-10 18:23:41

In contest[contest:1496] , problem C 1496C - Diamond Miner two solutions i submitted one 109632555 other with 109632518. Both are exactly the same except that in one array values are initialized by int data type and the other with a double. Int one is giving AC, whereas the other is giving TLE.

Please help me out.

Теги #706 div2 c

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский cheemsdog 2021-03-10 18:23:41 395 Initial revision (published)