Home > Archive > Cobol > February 2005 > Re: Word-processing challenge anyone?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Word-processing challenge anyone?
|
|
| epc8@juno.com 2005-02-14, 3:55 am |
| William M. Klein wrote:
> My COBOL program does get 12691 for "unique" words (when I treat
hyphenated
> words as TWO separate words), However, I am only getting +789715
input words.
I have not seen your source code yet due to Google latency, but I
suspect that you are not counting the word 'book' that appears in the
first 8 columns. It appears 66 times. That added to your total gives
the correct number of total words.
| |
| Tim Challenger 2005-02-14, 3:55 pm |
| On 13 Feb 2005 20:18:13 -0800, Richard wrote:
> that was the goal.
>
> With these types of 'challenge' it is likely that the goal is simply
> 'my language is better than yours'. Responding even with a program
> that is only fractionally slower or has marginally more lines or only
> slightly confuses the setter (compared to the one that they wrote
> themselves) simply proves (in the setter's mind) that theirs really is
> better.
Ah, you've seen some of XXXXwit Frank's posts already then?
> Unless you can blow them away with a 3 line program that runs 10 times
> faster and could be understood by a 5 year old then there is probably
> no point in feeding their ego.
Even then it wouldn't work as he'd change the goalposts.
--
Tim C.
| |
| Mark Yudkin 2005-02-15, 3:55 am |
| XXXXwit Frank already has changed the subgoals. He now wants *two* arrays.
"Tim Challenger" <tim.challenger@aon.at> wrote in message
news:1108372881. c2a8b0e0945b15b9ef1c989af1351ca4@teranew
s...
> On 13 Feb 2005 20:18:13 -0800, Richard wrote:
>
>
> Ah, you've seen some of XXXXwit Frank's posts already then?
>
>
> Even then it wouldn't work as he'd change the goalposts.
>
> --
> Tim C.
|
|
|
|
|