|
|
back to board[updated task] WA#2 sample tests or hints appreciated Hello, could you check if my test is correct? 4 10 1234 Answer: 222 (??) ~Thanks Re: [updated task] WA#2 sample tests or hints appreciated Posted by Diegox 24 Nov 2014 12:17 my answer is: 191 Re: [updated task] WA#2 sample tests or hints appreciated Why the answer is 191? As far as I understand, we need to count numbers from 1000 to 1234 without 00. There are only 12 of them: 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1100 1200 So 1234 - 1000 - 12 = 222. Where am I wrong? Thanks. Re: [updated task] WA#2 sample tests or hints appreciated Posted by Cirilla 25 Dec 2016 15:23 My answer is also 191, but i got WA#3 Re: [updated task] WA#2 sample tests or hints appreciated > As far as I understand, we need to count numbers from 1000 to 1234 without 00 No. We need to count numbers from 1000 to 9999 without 00. Result - 8829 - we should divide by 1234 - 7, remainder 191. Remainder is the answer. So answer is 191. Edited by author 26.12.2016 15:11 Re: [updated task] WA#2 sample tests or hints appreciated me to |
|
|