Please read the new rule regarding the restriction on the use of AI tools. ×

slow_coder4's blog

By slow_coder4, history, 8 years ago, In English

I got this problem TLE. help How can i handle my code . My code

  • Vote: I like it
  • -8
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
Rev. 3   Vote: I like it +21 Vote: I do not like it

ask your friends, slow_coder2 slow_coder3

»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Use a for loop for number of coins. Then check Either you have taken the coin for maximum or not.