Title |
User |
Message |
Date Posted |
Re: Help |
jargon |
Read the output format carefully. In general, it's a good idea to take a very thorough look at the problem statement. |
Jan 19, 2020 - 6:32:28 am UTC |
Help |
angeloisbest |
I keep trying edge cases, but never seem to get it wrong? can someone just check my code over? Thanks in advance :-) |
Jan 17, 2020 - 5:43:07 pm UTC |
Re: Help |
magicalsoup |
instead of just saying "whats wrong", please give some context or other things on what is wrong with your program (i.e indexoutofbounds, memoryerror, timelimit error, etc.), please read this comment h... |
Mar 03, 2019 - 1:08:03 am UTC |
Help |
TheBoss77 |
what's wrong? |
Mar 02, 2019 - 9:13:31 pm UTC |
Re: I can't understand the question. |
Waffles |
Oops lol. I accidentally added in the 6 at the beginning when I calculated the median, meaning I had the numbers 6 18 28 37 40 49 and 69, meaning the median I calculated was 37. Sorry about the clumsy... |
Feb 23, 2019 - 1:05:45 am UTC |
Re: I can't understand the question. |
magicalsoup |
do you know what an median is? You have made an mistake, the median is the middle number in a sorted list, and if there are 2 numbers, then take the average, here, when we sort the list we get 18 28 3... |
Feb 22, 2019 - 2:19:10 am UTC |
I can't understand the question. |
Waffles |
The median of the numbers in sample 2 is not 38.5, meaning either they made a mistake (which I doubt) or the question is not asking for the median of i numbers. Help? |
Feb 21, 2019 - 1:22:31 am UTC |
Re: 3.4 |
magmascorpion999 |
statistics.median is in python 3.4 |
Feb 11, 2016 - 10:05:13 pm UTC |
3.4 |
H-Shienh |
can someone update the PEG judge? my submission works in python 3.4 but I believe the PEG Judge is on version 3.2.3 I think An Admin should update the PEG judge |
Feb 10, 2016 - 2:13:30 am UTC |
Re: ERROR |
girishr2004 |
statistics.median was introduced in python 3.4 , a fairly recent update the judge doesn't use |
Jan 20, 2016 - 1:30:10 am UTC |