i have been trying the problem http://codeforces.me/contest/313/problem/C i first coded in python it gave me tle in testcase 48 when i converted the same code to c i got wrong answer in test 4 while i copied the test on my terminal my ans was correct though it was giving wrong on codeforces tester i changed long long to unsinged it gave me tle in testcase 11 and we all know that python is slower than c so how can python be faster for testcase 11?in addition to that i used in build-sort in python while i used in build quick sort in c and c++ you can see and there should be click on unofficial to see. http://codeforces.me/submissions/aabs08
int a[100100] -> int a[2000100]
thanx :) got it figured very silly !! my algo needs to improve :)
finally got it accepted thanx a lot :) !!