Trisphee

Trisphee (http://www.trisphee.com/forums/index.php)
-   Spring Mini-Event (http://www.trisphee.com/forums/forumdisplay.php?f=92)
-   -   Trisphee Coding Contest! (http://www.trisphee.com/forums/showthread.php?t=4586)

Lucid: 04-18-2011 12:56 PM

it's in PHP.

Espy 04-18-2011 01:30 PM

-stares at it for a really long time-

Similar to Java?

Lucid: 04-18-2011 01:42 PM

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.

Coda 04-18-2011 04:25 PM

It's similar enough to Java to make parallels, assuming you're treating PHP's strings as character arrays instead of String objects.

Duchess 04-18-2011 04:47 PM

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

Cazzidy 04-19-2011 03:22 AM

-=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...=-

Lucid: 04-19-2011 03:25 AM

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.

Duchess 04-19-2011 03:31 AM

Imo... it's not fun to just run it =3=

I love manually doing this. It reminds me of IT class back in school =]

Cazzidy 04-19-2011 03:43 AM

-=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...=-

Duchess 04-19-2011 03:44 AM

I did it manually and got it right.. SO I suggest you go with that and ignore the generated one

Cazzidy 04-19-2011 03:55 AM

delete please, accidental double post

Duchess 04-19-2011 03:57 AM

Double posted? O_o OR triple? XDDD

I'm just saying send in the manual one to be certain.

Cazzidy 04-19-2011 04:01 AM

sorry for the multiple posts... my internet in the office is fluctuating...

Duchess 04-19-2011 04:06 AM

Ouch. That must suck >.<'' It's cool =]

Lucid: 04-19-2011 04:07 AM

don't worry, I took care of it. :3

Cazzidy 04-19-2011 04:21 AM

-=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...=-


All times are GMT -4. The time now is 11:28 AM.

Powered by vBulletin®