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

Автор BBBB, история, 4 года назад, По-английски

dear guys i can't catch my problem which show my "function returns nothing" in codeforce i tried hard but can't understand ..please anyone give me this solution why returns nothing ..i am a beginner programmer .. THANKS IN ADVANCE https://codeforces.com/contest/706/submission/80536755

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

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

What if the function exits the while loop? Put a return 0; statement after the while(l<=r) loop.