Zero Python submission(100pts) in Pishty and Triangles (https://www.codechef.com/problems/PSHTRG)

In Pishty and Triangles https://www.codechef.com/problems/PSHTRG , there is no python submission which got 100 pts.
Still the time complexity in my solution(https://www.codechef.com/viewsolution/33220327) is O(qklogn).
Please help me where i am wrong.
Thank You.