ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1138. Integer Percentage

hint for WA
Posted by Ade 7 May 2011 20:39
the last salary may be less than what we thought.

input: 100 16
output: 10

if the last salary were 100, he got 9 jobs in all.
but in this case, the last salary is not 100. it's 99. So he has got 10 jobs.
try this and that's all clear

input: 99 16
output: 10

Edited by author 07.05.2011 20:39
Re: hint for WA
Posted by raven 30 Aug 2013 11:24
Thank you very much.
Re: hint for WA
Posted by gabitzu 24 Oct 2013 20:05
tu n-ai ce face?
stai cred ca stiu raspunsul....nu
Re: hint for WA
Posted by gabitzu 24 Oct 2013 20:07
tu n-ai ce face?
stai cred ca stiu raspunsul....nu, de ce?
give us the mode you arrive from 16 to 100 in 10 increases, if possible
and sorry for spam

my friend is idiot(alex t)



Edited by author 24.10.2013 20:10