Timeline for Write a program to print the sum of the ascii codes of the program
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 21, 2011 at 22:56 | comment | added | mellamokb | @Peter: Indeed, I was showing an example of the type of solution that might be smaller than 150, but not an actual solution. I haven't found one yet (and btw, 5! is 120, not 125) :-) | |
Jun 21, 2011 at 22:53 | comment | added | Peter Olson |
@mellamokb The sum of the ASCII characters in 5! is 86, not 125.
|
|
Jun 21, 2011 at 21:24 | comment | added | mellamokb |
@Alexandru: Not necessarily. There may be program that is one or two characters long that correctly prints the sum using some built-in functions, say like 5! in J.
|
|
Jun 21, 2011 at 19:57 | comment | added | Alexandru | I guess this is the absolute shortest. | |
Jun 21, 2011 at 19:34 | history | answered | Joey Adams | CC BY-SA 3.0 |