BBBB's blog

By BBBB, history, 4 years ago, In English

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

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
4 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

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