Recently the Educational round 144 , Python Code for D question that used iterative approach Dynamic programming resulted in TLE.↵
↵
However C++ code for the same passed in 170 ms↵
↵
Python Code — https://p.ip.fi/hwgL↵
C++ Code — https://p.ip.fi/Jsdm↵
↵
@[user:vovuh,2023-03-02] , [user:adedalic,2023-03-02], please look into the matter. ↵
↵
This is probably the 3rd or 4th-time python gave TLE but C++ did not. Why at all keep python a language option if not tested properly
↵
However C++ code for the same passed in 170 ms↵
↵
Python Code — https://p.ip.fi/hwgL↵
C++ Code — https://p.ip.fi/Jsdm↵
↵
↵
This is probably the 3rd or 4th-time python gave TLE but C++ did not. Why at all keep python a language option if not tested properly