Printing ":-)" $10^6$ times takes about 2.6s in CF ([submission:131141089]) while it takes just 0.7s in my machine (with 2.4 GHz cpu). I found this issue after tying to solve a problem which required $10^6$ output lines. My initial blog:↵
↵
_Please take a look at: [submission:4021643] and [submission: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 [submission: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;_↵
↵
There is a bug in CF compiler for sure, Please solve this issue [user:MikeMizayanov,2021-10-08].↵
↵
Thanks(^_^)/↵
:)↵
↵
_Please take a look at: [submission:4021643] and [submission: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 [submission: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;
↵
There is a bug in CF compiler for sure, Please solve this issue [user:MikeMizayanov,2021-10-08].↵
↵
Thanks