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

Автор vidit_jain, история, 7 лет назад, По-английски

Hi, I tried to hack a solution of problem A of div2 of round 424 (Based on VK Cup final). In that solution there is an extra 'cin'(in line 4th in int main) in the code which is wrong if n=1 and I think it has to show TLE in that case. I tried test case as follows 1 7 which outputs YES in original case but in that I think the compiler has to wait for another input y but my hack got unsuccessful. Don't know the reason. Can somebody please tell me whats wrong in it? Attached is the link to the code I tried to hack : http://codeforces.com/contest/831/submission/28514528

Thanks :)

Полный текст и комментарии »

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