CONFUSION: Time taken to operate int and double data type

Revision en1, by 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.

Tags #706 div2 c

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cheemsdog 2021-03-10 18:23:41 395 Initial revision (published)