0 Members and 5 Guests are viewing this topic.
Jens_K has finally submitted, bringing the score on Nspire Lua from 122 to 115! Can LDStudios do any better?
got a 113 chars in Lua ^^
But you do it char by char so it's not the same Anyway, your way, I got a bit more than you so I won't submit it ^^Also, made one in C that's 143 chars + length of input string.
I got 93 by doing it char by char ^^Not sure if I am after deadline though...
Quote from: Jens_K on August 11, 2014, 07:29:50 amI got 93 by doing it char by char ^^Not sure if I am after deadline though...How?
n=0function on.charIn(c)n=n+(tonumber(c)and-c or c:byte())..""print((n:gsub(".","%1\n")))end