You are viewing a single comment's thread. Return to all comments →
I found something weird. If your program passed the problem, what is the output for this input?
1 4 2 2 7 7
1
4
2 2 7 7
OK. I got it.
For each operation, she can give 1, 2 or 5 pieces to all but one colleague.
2 i got
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Equal
You are viewing a single comment's thread. Return to all comments →
I found something weird. If your program passed the problem, what is the output for this input?
OK. I got it.
2 i got