Bug: Same Pascal code, one gets TLE other one AC

Правка en5, от IloveGoodness, 2021-10-06 15:44:29

Please take a look at: 4021643 and 6576225. They are exactly same but one runs in 2s the other in 0.1s. Accepted solution was sent 10 month later. Again I submitted same solution after 8 years and got TLE 130976507 while in my computer, runs in just 0.188s

$time ./block_towers
real	0m0.188s
user	0m0.132s
sys	0m0.036s

Whats going on? I think it would be a good idea to improve FPC version from 3.0.4 to 3.2.0;

Thanks (^_^)/

Теги pascal, fpc, free pascal, bug

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en10 Английский IloveGoodness 2021-10-08 21:21:23 209
en9 Английский IloveGoodness 2021-10-08 13:43:05 2 Tiny change: 'Update: **Printing "' -> 'Update: ** Printing "'
en8 Английский IloveGoodness 2021-10-08 13:42:09 12 Tiny change: 'Printing "' -> '**Update: **Printing "'
en7 Английский IloveGoodness 2021-10-08 13:40:08 3
en6 Английский IloveGoodness 2021-10-08 13:39:28 501 Tiny change: 'tput lines:\n_Please ' -> 'tput lines.\n\n_Please '
en5 Английский IloveGoodness 2021-10-06 15:44:29 114
en4 Английский IloveGoodness 2021-10-05 02:53:03 79
en3 Английский IloveGoodness 2021-10-04 16:26:21 65
en2 Английский IloveGoodness 2021-10-04 16:24:07 32
en1 Английский IloveGoodness 2021-10-04 16:09:29 467 Initial revision (published)