Revision baf79c0b-3a12-4309-86e3-fa778e1c8210 - Code Golf Stack Exchange

#Java, <s>3518 3189</s> 2692

A simple loop that prints even characters, then odds. I tried a few things to optimize earlier ASCIIs, but most ended up making it longer overall, and ended up with a higher score.

<!-- language: lang-java -->

 void A(){for(char A=31;A!=126;System.out.print(A+=2))A=A==125?30:A;}

Output is:

 !#%')+-/13579;=?ACEGIKMOQSUWY[]_acegikmoqsuwy{} "$&(*,.02468:<>@BDFHJLNPRTVXZ\^`bdfhjlnprtvxz|~

**Edit:** Misunderstood the scoring at first. After flipping it to odd first, *then* even, it scores a lot better.

AltStyle によって変換されたページ (->オリジナル) /