Subject:
|
Re: Programming Brain Teaser
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Thu, 7 Sep 2000 19:03:17 GMT
|
Viewed:
|
184 times
|
| |
| |
In lugnet.off-topic.geek, Richard Marchetti writes:
> Having his supposed answer might help me to make it a more tightly worded
> puzzle next time.
Yeah, and maybe I am going to have to kick this guy until he is dead. His
solution was:
printf("abcdefghijklmnopqrstuvwxyz"); // ;("abcdefghijklmnopqrstuvwxyz")ftnirp
Which I would like to point out doesn't print anything in the second instance
because it is commented out, of course. So I don't know, I think there was
some poor wording/slippage in terms of what he specified as the rules and the
desired results of the puzzle vs. his actual solution. I mean, who doesn't
know you can comment out anything you want to? Boring...
...Now if it actually printed something while violating the rules of syntax
and reserved words -- now that's a trick!
Sheeesh!
-- Richard
|
|
Message has 3 Replies: | | Re: Programming Brain Teaser
|
| In lugnet.off-topic.geek, Richard Marchetti writes: <snip> (...) <snip> Yikes!!! Programmers are way too serious. I have heard of not being able to take a joke, but come on... :-) Jude (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
|
Message is in Reply To:
| | Re: Programming Brain Teaser
|
| (...) And a good one. Thanks for the replies. I think I am beginning to see some ways into it that I hadn't thought of. The way I was understanding the puzzle (and you know that people have a tendency to explain things quite poorly AND I tried to (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
|
19 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|