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

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

Hello Everyone, I am trying to submit problems here, but unfortunately i am not able to submit. When i click the submit button, the page keeps connecting/loading and i am not redirected to any page and finally "Page not found" message is printed on the screen ! I am trying from last 2 days but not able to submit any problems ! Please anyone help me resolving the issue ! I have tried using the different browser as well but that does'nt works too ! All other pages are working fine on codeforces but only "submit page is not working" ! Thanks !

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

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

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

Hello All, I have doubt in Binary Search Algorithm. Like in yesterday's contest 417(Div. 2), there was a problem C Sagheer and Nubian Market . I saw in the editorial and many solutions of the top coders as well. Some people have started binary Search with while(low <= high) this condition, some have started with while(high — low > 1) this condition and some have did it with while(low < high) . I have a doubt, how do we decide that which loop condition we have to apply and how we get the answer ? Can somebody explain this with yesterday's C problem ! Link to the problem:- Link Thanks !

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

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