Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] C puzzle
- Date: 27 Jul 2002 08:46:16 +0900
- From: bruno raoult <br@example.com>
- Subject: Re: [tlug] C puzzle
- References: <20020726012006.M48242-100000@example.com><15680.11598.642676.889439@example.com> <1027725222.13382.6.camel@example.com> <15681.56028.516393.98308@example.com>
On Sat, 2002-07-27 at 08:27, Viktor Pavlenko wrote: > >>>>> "br" == bruno raoult <br@example.com> writes: > > br> 2 more problems on the same one. Both with 1 character > br> replacement. > br> How to get 21 "-" chars output? > > for(i = 0 ;~i < n ; i--) Hi Viktor, You got it. And *sumimasen* again for the second one (to get 1 char output only) :) By the way, how did you find the "~" astuce? This solution always gives me an impression of "random try". :) br. -- "On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows 95 or better'. So I installed Linux." -- AnonymousAttachment: signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [tlug] C puzzle
- From: Viktor Pavlenko
- References:
- [tlug] C puzzle
- From: Tod McQuillin
- Re: [tlug] C puzzle
- From: Viktor Pavlenko
- Re: [tlug] C puzzle
- From: bruno raoult
- Re: [tlug] C puzzle
- From: Viktor Pavlenko
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] C puzzle
- Next by Date: [tlug] Re: C puzzle
- Previous by thread: Re: [tlug] C puzzle
- Next by thread: Re: [tlug] C puzzle
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links