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 ... 10 11 [12] 13 14 ... 40
166
Community Contests / Re: Code Golf Contest #8
« on: September 02, 2014, 05:55:01 pm »
Bump.

I have another entry! TI-BASIC.

167
Community Contests / Re: Code Golf Contest #7
« on: September 01, 2014, 11:40:37 pm »
There it is! :D

Oh, and I actually was able to cut 3 bytes from my GS solution...yet TI-BASIC was stil victorious.

168
Miscellaneous / Re: Some special effects to end the summer
« on: September 01, 2014, 11:38:43 pm »
I know the sandal one is bad, I was having a slow day...but thank you so much for the feedback!

169
Community Contests / Re: Code Golf Contest #8
« on: September 01, 2014, 03:27:28 pm »
Progress on my Golfscript entry:

Returns correct results for all test cases given. The program actually can handle any number of arbitrary pairs. It is now 72.

170
Community Contests / Re: Code Golf Contest #8
« on: September 01, 2014, 01:00:42 pm »
I shall change the rules to accomodate those kinds of letter pairs. () {} [] <> /\

171
Community Contests / [ENDED] Code Golf Contest #8
« on: September 01, 2014, 11:56:35 am »
This challenge should confuse some people.

NEXT: Here
PREVIOUS: Here

Challenge 8

Problem

Check if a string is conveniently palindromic, and output 1 if it is and 0 if it isn't. This means that the char pairs () {} [] <> should be handled such that strings such as
Code: [Select]
(<)i(>)
<}<{}>{>
][()][
}{[]}{
would return 1, and strings like
Code: [Select]
())(
<(){}[][}{)(<
(({))
<<
would return 0.
Case insensitive when possible.

Deadline
September 8, 2014, 1:00 AM EST

If any further clarification is needed, contact me. I'll try not to get everything backwards for you. (*crickets* Seriously, nothing? :/ )

Golfscript
RankUserSizeDateCode
1JWinslow23689/1/2014 2:39:28 PM
Spoiler For Spoiler:
{.96>32*-}/]''+.['()''{}''[]''<>']{.(;\);@1$/"\0"*2$/\*"\0"/\*}/-1%=

Ruby2
RankUserSizeDateCode
1Juju639/1/2014 2:59:26 PM
Spoiler For Spoiler:
p (a=gets.chop.upcase)==a.reverse.tr("[{(<>)}]","]})><({[")?1:0

TI-83+ BASIC
RankUserSizeDateCode
1JWinslow231779/2/2014 5:43:43 PM
Spoiler For Spoiler:
" "+Ans+" ->Str1
Ans->Str3
"({[<)}]>->Str2
For(X,1,length(Str1
For(Y,1,4
sub(Str1,X,1
5(Ans=sub(Str2,Y,1))+(Ans=sub(Str2,Y+4,1
If Ans
sub(Str1,1,X-1)+sub(Str2,Y+Ans-1,1)+sub(Str1,X+1,length(Str1)-X->Str1
End
End
Str1
For(X,1,length(Ans)-1
sub(Ans,2X,1)+Ans
End
Str3=sub(Ans,1,X

Nspire Lua
RankUserSizeDateCode
1Jens_K1459/4/2014 4:52:18 PM
Spoiler For Spoiler:
function cgc8(s)
R=1
r="<>()[]{}/\\"l=s:len()for i=1,l do
p=r:find(s:sub(i,i),1,1)or 0
p=p+p%2*2-1
q=l-i+1
R=p>0 and r:sub(p,p)~=s:sub(q,q)and 0 or R
end
print(R)
end

Language Ranking
RankLangUserSizeDate
1Ruby2Juju639/1/2014 2:59:26 PM
2GolfscriptJWinslow23689/1/2014 2:39:28 PM
3Nspire LuaJens_K1459/4/2014 4:52:18 PM
4TI-83+ BASICJWinslow231779/2/2014 5:43:43 PM

172
Miscellaneous / Some special effects to end the summer
« on: September 01, 2014, 12:04:35 am »
I have no idea how to embed videos, so here you go.

A couple of amateur special effects that I made today. Nothing other than jump cuts and a tiny bit of speedup here and there. If I could just compress them a bit more, then I could have a bunch of ready-made vines!

Whaddaya think?

173
Community Contests / Re: Code Golf Contest #7
« on: August 30, 2014, 11:49:49 am »
Oh I know, but that's for the future challenges. You may want to include the link in the rules, it can't hurt.
(but a lot of them can't apply for calc languages anyway)
People here have had enough common sense not to even submit those kinds of challenges.

174
Community Contests / Re: Code Golf Contest #7
« on: August 30, 2014, 10:53:46 am »
something like naming the file with a weird name such that it's actually code and the few chars in the file just call it ? :D

If so, you should make all future challenges comply to the no standards loopholes rules ;)
Dude, it's not really an entry. It isn't even counted. I will not accept anything like that ever.

175
Community Contests / Re: Code Golf Contest #7
« on: August 29, 2014, 10:54:52 pm »
...how? I'm pretty sure it's something like "a();" and there's another files that does the job as well as preprocessor instructions.
In batch. A different trick.

176
Community Contests / Re: Code Golf Contest #7
« on: August 29, 2014, 09:37:12 pm »
I could imagine some trolly rules bending, but in a few more chars than 4 ... so IDK yet :P
I have something as well...

177
Community Contests / Re: Code Golf Contest #7
« on: August 29, 2014, 02:27:05 pm »
Woo! Got a 4 byte C entry! :D

178
Community Contests / Re: Code Golf Contest #7
« on: August 28, 2014, 10:20:45 am »
And I will allow it as a language as soon as it is completed. I mean, I accept AND use Axe, don't I?

Speaking of which, matref, when are you going to submit your entry? You must submit it before the month of September!

179
Community Contests / Re: Code Golf Contest #7
« on: August 26, 2014, 11:52:49 am »
I got 50 bytes in TI-BASIC. I worked WAY too hard on it. O.O

180
Community Contests / Re: Code Golf Contest #7
« on: August 26, 2014, 10:28:55 am »
Got a 101-bytes one in Lua.

Also, that's assuming you want to have displayed only 0 if it's not possible, and nothing else printed during the process.
(Because if other number can appear in the loop as well as 0, well, I got a shorter one.)
Only 0.
And WOW, some of these submissions are even smaller than my Golfscript solution! :P First time ever that a lang other than CJam has beaten Golfscript.

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