Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JWinslow23

Pages: 1 ... 9 10 [11] 12 13 ... 40
151
Community Contests / Re: Code Golf Contest #10
« on: September 15, 2014, 07:48:49 pm »
As long as the "colors" are all distinct, this is allowed.

152
Community Contests / [ENDED] Code Golf Contest #10
« on: September 15, 2014, 06:50:58 pm »
Ten is three, three is four, four is MAGIC. O.O

NEXT: Here
PREVIOUS: Here

Challenge 10

Problem
Create a program which displays the Olympic Rings, following these criteria:
  • The rings may be a picture or ASCII art
  • The rings must overlap (-40% if they interlock in the proper way!)
  • The rings should be in color if at all possible (-50% if so)
  • The program must not access an external source, Juju :P
Deadline
September 22, 2014, 1:00 AM EST

If any further clarifica...you know what? Nobody ever reads this part! Whatever, I don't have a pun anyways. Not that anybody reads that, either. :(

Ruby
RankUserSizeDateCode
1Juju220-70%=669/16/2014 8:35:42 AM
Spoiler For Spoiler:
puts"\x1b[2J"
def H(x,y);"\x1b["+x.to_s+";"+y.to_s+"H";end
def a(x,y,c);2.times{|i|puts"\x1b[3"+c.to_s+"m"+H(x+i+1,y)+"#"+H(x+i+1,y+5)+"#"+H(x+3*i,y+1)+"####"+"\x1b[0m"};end
a(1,1,4);a(1,7,0);a(1,13,1);a(3,4,3);a(3,10,2)

Golfscript
RankUserSizeDateCode
1JWinslow2347-40%=28.29/15/2014 11:16:11 PM
Spoiler For Spoiler:
' bb  ll  rr
b '' by  lg  rr'
.);n@'
   yy  gg'

CJam
RankUserSizeDateCode
1JWinslow2347-40%=28.29/15/2014 11:16:11 PM
Spoiler For Spoiler:
" bb  ll  rr
b "" by  lg  rr"
_);N@"
   yy  gg"
2pimathbrainiac54-40%=32.49/15/2014 7:11:40 PM
Spoiler For Spoiler:
" bb  ll  rr"N"b  by  lg  r"N" by  lg  rr"N"   yy  gg"

C
RankUserSizeDateCode
1pimathbrainiac101-40%=60.69/15/2014 7:11:40 PM
Spoiler For Spoiler:
#include <stdio.h>
int main(){printf(" bb  ll  rr\nb  by  lg  r\n by  lg  rr\n   yy  gg");return 0;}

Nspire Lua
RankUserSizeDateCode
1Jens_K94-70%=28.29/16/2014 7:18:56 AM
Spoiler For Spoiler:
function on.paint(g)
for i=0,4 do
g:setColorRGB(9E5*i)g:drawArc(9+i*5,9+i%2*5,9,9,205-i%2*90,i>0 and 330 or 360)end
end
2LDStudios80-50%=409/18/2014 5:26:33 AM
Spoiler For Spoiler:
for i=1,5 do a=(i>3 and 5 or 0)gc:setColorRGB(i*42)gc:drawString(0,i*8-a*4,a)end
3Adriweb84-50%=429/15/2014 11:38:14 PM
Spoiler For Spoiler:
function on.paint(g)for i=4,16,3 do g:setColorRGB(i^5)g:drawString(0,i,i%2*4)end end

Language Ranking
RankLangUserSizeDate
1CJamJWinslow2328.29/15/2014 11:16:11 PM
2GolfscriptJWinslow2328.29/15/2014 11:16:11 PM
3Nspire LuaJens_K28.29/16/2014 7:18:56 AM
4Cpimathbrainiac60.69/15/2014 7:11:40 PM
5RubyJuju669/16/2014 8:35:42 AM

153
Community Contests / Re: Code Golf Contest #9
« on: September 15, 2014, 06:36:50 pm »
Congratulations, alberthrocks! I am accepting your submissions.

154
Community Contests / Re: Code Golf Contest #9
« on: September 14, 2014, 08:43:41 pm »
4 hours left! Make your last 9 solutions and early 10 solutions!

155
Community Contests / Re: Code Golf Contest #9
« on: September 13, 2014, 08:39:20 pm »
Wait...take the sum of all of the entry sizes in the Language Ranking list (330, if you don't wanna do the math :P )...

...the sum of the digits is 9 (but it doesn't stop there)...

...also, divide the sum by the largest value (63)...

...you get 5.23809523809523809... (repeating)...

...the section that repeats is 5,2,3,8,0,9...

...add them together, you get 27...

...add up the digits of 27, you get 9...

...which is also the number of the contest!

Coincidence? :P

156
Community Contests / Re: Code Golf Contest #9
« on: September 13, 2014, 08:24:37 pm »
Bump.

I just have to tell this to someone.

The top entry in Contest #9 is 4 bytes
The next 4 entries are 9 bytes (that's not all...)
The next entry is 18 bytes (and 1+8=9)
The next 2 entries are 22 bytes (2 2s together)
The ninth entry is 32 bytes (and 3^2=9)
Looking at the next 4 entries, the first 2 and last 2:
      a). are done in different variants of the same lang
      b). have size differences of 1 byte
      c). the more advanced version of the lang has the smaller size

Coincidence? I think not!

157
Community Contests / Re: Code Golf Contest #9
« on: September 11, 2014, 10:53:55 pm »
Deadline reset.

158
Community Contests / Re: Code Golf Contest #9
« on: September 10, 2014, 10:41:41 pm »
I sent you a PM for Whitespace and Brainf*ck entries!
I forgot to specify: Languages must contain numbers. :P
All the future code golfs are mario games :P
My sad attempt at an error page.

159
Community Contests / Re: Code Golf Contest #9
« on: September 10, 2014, 07:22:37 pm »
EDIT: Did I do something wrong, because I'm not listed?
I guess it's just that JWinslow was not here when you posted your score and will update his post when he's here ;)

Btw, for Axe entries, do we count the size of the source or the size of the compiled program ? I think I already asked but couldn't find the post where I did ???
I was thinking along the lines of "some calc tokens are not exactly ASCII..."
imaginary var and pi

And he was :P
Well, just tell me the size of the program minus the size of an empty program with the same name. So if program "B" is 69 bytes, and an empty program named "B" is 28 bytes, tell me 69-28=41 bytes. :)

160
Community Contests / Re: Code Golf Contest #9
« on: September 10, 2014, 06:10:56 pm »
Brainfuck 31 bytes ^.^

EDIT: PHP 35 bytes, 13 less than juju! >:D
I got 22 bytes, actually. And I beat willrandship in Perl as well (again, 22 bytes) :P
Wait, 2 entries...both 22 bytes...both by Juju...Juju has 2^2 letters...
HALF LIFE 2 CONFIRMED :P

161
Community Contests / Re: Code Golf Contest #9
« on: September 10, 2014, 05:34:27 pm »
EDIT: Did I do something wrong, because I'm not listed?
I guess it's just that JWinslow was not here when you posted your score and will update his post when he's here ;)

Btw, for Axe entries, do we count the size of the source or the size of the compiled program ? I think I already asked but couldn't find the post where I did ???
Compiled program (sizing just like TI-BASIC).

Also, people with BF and Whitespace solutions, the programming language MUST USE NUMBERS. Otherwise, there's nothing special about it. :P

162
Community Contests / [ENDED] Code Golf Contest #9
« on: September 08, 2014, 07:38:31 pm »
In a world without numbers...

NEXT: Here
PREVIOUS: Here

Challenge 9

Problem

Create a program that prints the number 1337...but here's the catch:
  • The program must not have any numerical characters (and the language must, Adriweb :P )
  • The program must not rely on any external variables
  • The program must only use the printable ASCII characters (" " to "~")
  • The program must not exit on an error message, Jens_K :P
Deadline
September 15, 2014, 1:00 AM EST

If any further clarification is needed, contact me. Let the games BigInt()! XD

Python2
RankUserSizeDateCode
1Sorunome329/8/2014 7:05:34 PM
Spoiler For Spoiler:
print ord('$')*ord('$')+ord(')')

Golfscript
RankUserSizeDateCode
1JWinslow2399/9/2014 6:46:01 PM
Spoiler For Spoiler:
!.))...+)

TI-83+ BASIC
RankUserSizeDateCode
1calc84maniac99/8/2014 8:49:45 PM
Spoiler For Spoiler:
int(pi^^2^pi+int(epi
2JWinslow23119/8/2014 7:22:47 PM
Spoiler For Spoiler:
int(10^(pi)-pi-10^(sqrt(e
3123outerme389/9/2014 5:22:07 PM
Spoiler For Spoiler:
A=A->B
Output(B,B,Ans+Ans^^2+B
Output(B,Ans,Ans^^2*Ans+Ans^^2+B

Ruby
RankUserSizeDateCode
1Juju189/8/2014 10:03:56 PM
Spoiler For Spoiler:
p"~~~~~~~~~~M".sum

Perl
RankUserSizeDateCode
1Juju229/10/2014 1:46:43 PM
Spoiler For Spoiler:
print unpack"cc","\r%"
2willrandship399/9/2014 5:15:38 PM
Spoiler For Spoiler:
$_=(hex'fed')-(hex'aaa')-(hex'a');print

C
RankUserSizeDateCode
1alberthrocks339/15/2014 12:00:00 AM
Spoiler For Spoiler:
main(){printf("%i",'!'*'+'-'R');}
2willrandship639/9/2014 5:15:38 PM
Spoiler For Spoiler:
#include<stdio.h>
int main(){printf("%d",('H'-'A')*('~'+'A'));}

C++
RankUserSizeDateCode
1willrandship629/9/2014 5:15:38 PM
Spoiler For Spoiler:
#include<iostream>
int main(){std::cout<<('H'-'A')*('~'+'A');}

PHP
RankUserSizeDateCode
1Juju229/10/2014 12:51:19 PM
Spoiler For Spoiler:
<?=ord("\r").ord("%");
2Sorunome359/10/2014 4:00:54 AM
Spoiler For Spoiler:
<? echo ord('$')*ord('$')+ord(')');

CJam
RankUserSizeDateCode
1JWinslow2349/9/2014 6:46:01 PM
Spoiler For Spoiler:
DHK+
2Adriweb49/11/2014 10:04:21 AM
Spoiler For Spoiler:
DHK+

Lua
RankUserSizeDateCode
1Adriweb359/9/2014 8:26:10 PM
Spoiler For Spoiler:
a=#"-_-"b=#'_'print(b..a..a..a+a+b)

Axe
RankUserSizeDateCode
1Hayleia99/11/2014 8:22:12 AM
Spoiler For Spoiler:
Disp 'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'F'+'A'+'A'+'W'>Dec

Nspire Lua
RankUserSizeDateCode
1LDStudios349/14/2014 8:04:05 PM
Spoiler For Spoiler:
print(("\r"):byte()..("%"):byte())

Befunge93
RankUserSizeDateCode
1Juju89/13/2014 10:13:41 PM
Spoiler For Spoiler:
"Y' "*+@
2Hooloovoo99/13/2014 6:29:06 PM
Spoiler For Spoiler:
")$$"*+.@

Befunge98
RankUserSizeDateCode
1alberthrocks99/15/2014 12:00:00 AM
Spoiler For Spoiler:
'$:*')+.@

dc
RankUserSizeDateCode
1alberthrocks79/15/2014 12:00:00 AM
Spoiler For Spoiler:
CEC F-p

MATLAB
RankUserSizeDateCode
1alberthrocks119/15/2014 12:00:00 AM
Spoiler For Spoiler:
'$'*'$'+')'

Language Ranking
RankLangUserSizeDate
1CJamJWinslow2349/9/2014 6:46:01 PM
2dcalberthrocks79/15/2014 12:00:00 AM
3Befunge93Juju89/13/2014 10:13:41 PM
4TI-83+ BASICcalc84maniac99/8/2014 8:49:45 PM
5GolfscriptJWinslow2399/9/2014 6:46:01 PM
6AxeHayleia99/11/2014 8:22:12 AM
7Befunge98alberthrocks99/15/2014 12:00:00 AM
8MATLABalberthrocks119/15/2014 12:00:00 AM
9RubyJuju189/8/2014 10:03:56 PM
10PHPJuju229/10/2014 12:51:19 PM
11PerlJuju229/10/2014 1:46:43 PM
12Python2Sorunome329/8/2014 7:05:34 PM
13Calberthrocks339/15/2014 12:00:00 AM
14Nspire LuaLDStudios349/14/2014 8:04:05 PM
15LuaAdriweb359/9/2014 8:26:10 PM
16C++willrandship629/9/2014 5:15:38 PM

163
TI Z80 / Re: [Axe] Source Seekers Battle (TI-83+ & up)
« on: September 06, 2014, 12:04:58 pm »
We could always revive it if there's progress :P
There may not be, though. I'm gonna try to work on TI-Kwon Do (that is only a tentative title).
Keep that title or I will be upset. >:D
:P

164
TI Z80 / Re: [Axe] Source Seekers Battle (TI-83+ & up)
« on: September 06, 2014, 01:00:22 am »
We could always revive it if there's progress :P
There may not be, though. I'm gonna try to work on TI-Kwon Do (that is only a tentative title).

165
TI Z80 / Re: [Axe] Source Seekers Battle (TI-83+ & up)
« on: September 05, 2014, 08:34:40 pm »
Sorry, no Source Seekers Battle. School and stuff.

Pages: 1 ... 9 10 [11] 12 13 ... 40