Timeline for Find the rule that assigns numbers to words
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2015 at 5:00 | vote | accept | Julian Rosen | ||
Jun 7, 2015 at 23:10 | comment | added | Conor O'Brien |
If you guys want to try this method out, use this code (JavaScript): function SOLVE(v){x="abcdefghijklmnopqrstuvwxyz".split("");v=v.split("");for(i=0,a=0;i<v.length;i++)a+=x.indexOf(v[i])+1;return c(a);}function c(a,f=Math.floor){S=f(a/100);a-=S*100;T=f(a/50);a-=T*50;U=f(a/25);a-=U*25;V=f(a/10);a-=V*10;W=f(a/5);a-=W*5;S+T+U+V+W+a;} and enter SOLVE("<your word>") . This code disregards any non-lowercase, alphabetical, English letters.
|
|
Jun 7, 2015 at 22:25 | history | edited | xnor | CC BY-SA 3.0 |
added 134 characters in body
|
Jun 7, 2015 at 17:46 | history | answered | user41805 | CC BY-SA 3.0 |