|
|
вернуться в форумtest can you give me the answer of this test please: 4 10 10 20 20 10 20 20 10 my program writes 20 but I am not sure if this is the right answer I STILL GOT WA!! Re: test Послано lerh 4 апр 2011 03:22 it's 13 Re: test wtf... ???? why can you explain Re: test Послано lerh 8 апр 2011 04:47 distance between first and second is 20 (|10-20 + 10-20|), between first and third is 10 (|10-10 + 10-20|), between first and fourt is 10 (|10-20 + 10-10|) so average for first is (20+10+10) / 3... do the same for second, third and fourth and result is (average for first + average for second + average for third + average for fourth) / n (in your case it's 4) Re: test Послано Ana93 17 апр 2011 02:55 ... and that is 20. Re: test no, the correct answer for this test is 13. |
|
|