|
|
back to boardShow all messages Hide all messagesthe 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 tu n-ai ce face? stai cred ca stiu raspunsul....nu 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 |
|
|