Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Tomorrow will be cancelled due to lack of interest.


comp / comp.os.linux.advocacy / Simple challenge VII for the simpleton Feeb

SubjectAuthor
* Simple challenge VII for the simpleton FeebDFS
`- Re: Simple challenge VII for the simpleton FeebDFS

1
Subject: Simple challenge VII for the simpleton Feeb
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Sat, 15 Jun 2024 11:43 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us8.netnews.com!not-for-mail
X-Trace: DXC=H<_F<H1UB1B@dH[gO7?^]LHWonT5<]0TMQ;nb^V>PUfF5[gZBW6J?LL>8J_kK>kdRID]>mPc=jiABYG5D_7nn;`HMba][>SC2CGf;]EoU=id5F=R<hY6_C9TH
X-Complaints-To: support@blocknews.net
Date: Sat, 15 Jun 2024 07:43:52 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: Simple challenge VII for the simpleton Feeb
Newsgroups: comp.os.linux.advocacy
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 46
Message-ID: <666d7e75$0$3747320$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718451829 reader.netnews.com 3747320 127.0.0.1:45061
View all headers

You recently claimed "There are *no* competent C programmers here
(except little ol' me)."

It's long past time for you to begin trying to prove your programming
competency (you NEVER have, in any language).

Write one C routine that will compute the 3 quartiles of any dataset of
positive integers. Quartiles subdivide the datasets into 4ths by median.

Here are some random datasets to work from.

N = 20:
3 9 9 12 17 22 29 29 33 35 36 37 40 44 46 49 50 51 55 57

N = 21:
3 3 4 4 4 7 8 9 13 17 30 32 34 36 38 42 43 43 45 48 54

N = 30:
6 12 13 17 19 20 20 20 22 23 29 32 34 40 41 42 44 46 48 50 61 64 66 68
69 72 73

N = 31:
6 10 10 15 19 21 21 31 36 42 44 48 50 50 51 52 58 62 68 69 70 70 72 76
81 82 82 84 84 92 93

Use this method:
Q1 = median of lower half not including Q2
Q2 = median of dataset
Q3 = median of upper half not including Q2

Example
1 2 3 4 5 6 7 8 9 10 11

Q1 = 3
Q2 = 6
Q3 = 9

I've already written such code, in C and python. And I posted both to
clc, so don't cheat and plagiarize it from there or elsewhere as you
often do.

See you NEVER, fraudulent lying asshole.

Subject: Re: Simple challenge VII for the simpleton Feeb
From: DFS
Newsgroups: comp.os.linux.advocacy
Date: Sun, 16 Jun 2024 15:29 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!postmaster.netnews.com!us4.netnews.com!not-for-mail
X-Trace: DXC=9^<l@5lbhW=o:B7l=o;^c3HWonT5<]0T=Q;nb^V>PUf65[gZBW6J?L<ZHjmnLVPdB=k4G3cSPE1c?nT`JO7@`Z@0Mba][>SC2C7f;]EoU=id56=R<hY6_C9T8
X-Complaints-To: support@blocknews.net
Date: Sun, 16 Jun 2024 11:29:59 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Simple challenge VII for the simpleton Feeb
Newsgroups: comp.os.linux.advocacy
References: <666d7e75$0$3747320$882e4bbb@reader.netnews.com>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <666d7e75$0$3747320$882e4bbb@reader.netnews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 56
Message-ID: <666f04f4$2$1412902$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1718551796 reader.netnews.com 1412902 127.0.0.1:37789
View all headers

On 6/15/2024 7:43 AM, DFS wrote:
>
> You recently claimed "There are *no* competent C programmers here
> (except little ol' me)."
>
> It's long past time for you to begin trying to prove your programming
> competency (you NEVER have, in any language).
>
> Write one C routine that will compute the 3 quartiles of any dataset of
> positive integers.  Quartiles subdivide the datasets into 4ths by median.
>
> Here are some random datasets to work from.
>
> N = 20:
> 3 9 9 12 17 22 29 29 33 35 36 37 40 44 46 49 50 51 55 57
>
> N = 21:
> 3 3 4 4 4 7 8 9 13 17 30 32 34 36 38 42 43 43 45 48 54
>
> N = 30:
> 6 12 13 17 19 20 20 20 22 23 29 32 34 40 41 42 44 46 48 50 61 64 66 68
> 69 72 73
>
> N = 31:
> 6 10 10 15 19 21 21 31 36 42 44 48 50 50 51 52 58 62 68 69 70 70 72 76
> 81 82 82 84 84 92 93
>
>
> Use this method:
> Q1 = median of lower half not including Q2
> Q2 = median of dataset
> Q3 = median of upper half not including Q2
>
> Example
> 1 2 3 4 5 6 7 8 9 10 11
>
> Q1 = 3
> Q2 = 6
> Q3 = 9
>
>
> I've already written such code, in C and python.  And I posted both to
> clc, so don't cheat and plagiarize it from there or elsewhere as you
> often do.
>
> See you NEVER, fraudulent lying asshole.

crickets.

Geez... it's hard to believe Feeb ran away from a simple coding
challenge like he did umpteen times before...

1

rocksolid light 0.9.8
clearnet tor