The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.apl
From: Stefano Lanzavecchia <stefano.lanzavecc...@gmail.com>
Date: Fri, 7 Sep 2012 08:56:01 -0700 (PDT)
Local: Fri, Sep 7 2012 11:56 am
Subject: Re: Code golf
On Thursday, 6 September 2012 23:00:42 UTC+2, (unknown) wrote:
When given input "dc" it answers: > On Thursday, August 23, 2012 11:22:50 PM UTC-4, frangonve wrote: > > Currently golfscript and q language win. Here you can find the requirements, tersesness rules here: http://codegolf.stackexchange.com/questions/7036/print-custom-alphabet Cheers Francisco
> Using APL2, I have the following at 64 characters:
> C←⍉⊃2↑(26>B)/(B←A⍳¨↑R←⍞)⌽¨A←26↑¨65 97↓¨⊂⎕AV⋄⍎((2×=/B)+1≠⍴R)↓'∊C'
e f g h i j k l m n o p q r s t u v w x y z a b c d which is wrong because "dc" is an invalid input.
Also, when given input "d" it produces a 52 elements vector, which is wrong according to the specs because the last character should not be a space.
Close, but no cigar ;)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||