![]() |
Trisphee Coding Contest!
Welcome, welcome.
As we brainstormed contests for this event, we realized that we wanted to have a few different contests. We realized that very few events had ever had a coding contest, so we thought we'd give those who have some coding experience a chance to win some prizes. All you need to do is: Find out what the code outputs at the end. When you think you have the answer, please send me a PM. When people solve this first one, more codes can be released! As for prizes, those who answer correctly will receive:
|
Good luck to everyone who enter this contest. :]
|
-confuzzled but completely determined- I think Funkduder might have a better chance than me, though.
|
My bf is trying to explain this language to me....
I totally fail... hard >.<'' GOOD LUCK Y'ALL |
Don't let the fact that it's code scare you off! And if you don't know PHP, don't be afraid of that either! All this takes is problem solving, patience, and the ability to follow instructions.
If you have questions about anything -- about what various bits of syntax do, for instance -- please ask. |
@___@ I just attempted this... My result makes not much sense. Is the output supposed to be clever or just...output
|
-=What you're allergic to cats?...=- http://i93.photobucket.com/albums/l7...ividerLong.jpg Ooohhh!!! Coding Contest... I'll try solving this when i am at the office... so excited!... http://i93.photobucket.com/albums/l7...otes/Stare.png http://i93.photobucket.com/albums/l7...ividerLong.jpg -=It's alright, I'm allergic to you...=- |
Quote:
|
It's just output. It doesn't actually mean anything. It's supposed to be hard to guess without actually following what it's trying to do. :P
|
Yeh.. I sent it in and it turned out to be right! Go me!
Seems like all languages are similar in some way |
They really are! Once you've gotten good at one programming language you can usually pick up others pretty easily.
|
I'm working on this! Hopefully I'm not too far off track.
|
I look and look and I'm just totally lost >< It's sad because it's not like I've never used programming languages before...I just don't think I understand the variables at all :/
|
Well, I intentionally used one-letter variable names just to obscure the meaning of the code.
I AM pulling a nasty trick with the string indexing. (That's what the $x[y] syntax is -- the y'th character in the string $x.) |
I AGREE! That was nasty >_>
I thought I was doing something wrong at that part..... |
-annoyed at the "$"- I'm...working on it...
Not even completely sure what language this is in... |
it's in PHP.
|
-stares at it for a really long time-
Similar to Java? |
I couldn't say. all programming languages do have similarities. I know a little bit of Java but I would have to look up a lot of PHP stuff to make heads or tails of this one. mostly syntax I think, though, I recognize a lot of structures and know kindof how to read them.
|
It's similar enough to Java to make parallels, assuming you're treating PHP's strings as character arrays instead of String objects.
|
I say just read the manual XDD It helped me figure practically everything about the language out... well at least the basic stuff required for this.
This is the Manual Go to the "Language Reference" section and read up. It's not too long and I'm sure it'd be used in the future.. sometime =P |
-=What you're allergic to cats?...=- http://i93.photobucket.com/albums/l7...ividerLong.jpg I tried running the code here in the office but then it gives an error... I tried removing some lines in the code that causes the error and I got a result... http://i93.photobucket.com/albums/l7...otes/Stare.png http://i93.photobucket.com/albums/l7...ividerLong.jpg -=It's alright, I'm allergic to you...=- |
the contest was written in a way to prevent people from just running the code and getting the result; I believe it has to be deciphered manually to get the correct answer. of course, I'm not the best person to ask about it.
|
Imo... it's not fun to just run it =3=
I love manually doing this. It reminds me of IT class back in school =] |
-=What you're allergic to cats?...=- http://i93.photobucket.com/albums/l7...ividerLong.jpg I tried it manually before trying to run it and got a different answer from the one generated but actually close enough... http://i93.photobucket.com/albums/l7...otes/Stare.png http://i93.photobucket.com/albums/l7...ividerLong.jpg -=It's alright, I'm allergic to you...=- |
I did it manually and got it right.. SO I suggest you go with that and ignore the generated one
|
delete please, accidental double post
|
Double posted? O_o OR triple? XDDD
I'm just saying send in the manual one to be certain. |
sorry for the multiple posts... my internet in the office is fluctuating...
|
Ouch. That must suck >.<'' It's cool =]
|
don't worry, I took care of it. :3
|
-=What you're allergic to cats?...=- http://i93.photobucket.com/albums/l7...ividerLong.jpg thanks Lucid! *luffles*... Has everyone submitted their answers? it's like few people are trying out the coding contest... sadly... i enjoy this type of things... http://i93.photobucket.com/albums/l7...otes/Stare.png http://i93.photobucket.com/albums/l7...ividerLong.jpg -=It's alright, I'm allergic to you...=- |
I know there are people who are attempting it.. But I'm not sure if they are done or have submitted anything yet
|
Another person has solved it and another is attempting! *nods*
|
So!
Sei tells me there have been two people who have submitted the correct answer so far! Let's get some more! |
Here's another challenge for the last few days!
Write something for ME to solve! :D It's mostly for fun, but I'll give 20 runes to my favorite submission and 10 runes to the runner-up. PM stuff straight to me. Use whatever language you want; I can at least read almost everything in common use today. If I can't solve it, bonus points for you! |
-=What you're allergic to cats?...=- http://i93.photobucket.com/albums/l7...ividerLong.jpg that would be really hard since Coda is like the God of coding! but this sure is fun... goodluck everyone!... http://i93.photobucket.com/albums/l7...otes/Stare.png http://i93.photobucket.com/albums/l7...ividerLong.jpg -=It's alright, I'm allergic to you...=- |
Too bad I don't know anything about computer code.
|
ill give 5k to whoever rickrolls coda
|
In coding???
OH God Ashy.. the thought tingles me insides... I feel... I must attempt it 8D |
| All times are GMT -4. The time now is 02:45 PM. |
Powered by vBulletin®