?

Log in

No account? Create an account
entries friends calendar profile It's Me Previous Previous Next Next
Thoughts too short to post... (Tweets) - The Autobiography of Russell
Life from a different perspective
zimzat
zimzat
Thoughts too short to post... (Tweets)
  • 17:49 <?parse_str('I=1&V=5&X=10&L=50&C=100&D=500&M=1000');foreach(str_split(strrev($argv[1]))as$a){$b+=$$a*($$a>=$c?:-1);if($$a>$c)$c=$$a;}echo$b;

Tags:

3 comments or Leave a comment
Comments
scixual From: scixual Date: May 12th, 2013 05:24 pm (UTC) (Link)
You do and you clean it up!

zimzat From: zimzat Date: May 12th, 2013 05:35 pm (UTC) (Link)
lolwut?

This was my entry for a 'code golf' challenge. The goal was to write a script to parse roman numerals using the least number of characters. The aim was for 94 but the closest we got was 141 and 140 using two different methods. Supposedly there's a version that got it down to around 70 characters even.
scixual From: scixual Date: May 12th, 2013 05:46 pm (UTC) (Link)
That's just an old standing joke -- like, vaudeville-old -- when someone makes says something incomprehensible or in a foreign language.
3 comments or Leave a comment