In last round (Codeforces Round #785 (Div. 2)) , my solution get time limit exeed ,[submission:1554459087069] , but when i change the for loop in the function the solution get Accepted [submission:155446544], and i cann't find any reason for that , anyone can help me , and explain what happen?!?!?↵
↵
Thanks ,....
↵
Thanks ,....