Блог пользователя aabs08

Автор aabs08, 11 лет назад, По-английски

i have been trying the problem http://mirror.codeforces.com/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://mirror.codeforces.com/submissions/aabs08

  • Проголосовать: нравится
  • -11
  • Проголосовать: не нравится

»
11 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

int a[100100] -> int a[2000100]