Code Golf: Code Golf: Difference between revisions
Content added Content deleted
(Added C) |
|||
Line 161: | Line 161: | ||
With string literal (16 characters): |
With string literal (16 characters): |
||
<syntaxhighlight lang="easylang">write"Code Golf"</syntaxhighlight> |
<syntaxhighlight lang="easylang">write"Code Golf"</syntaxhighlight> |
||
Without quoted literals ( |
Without quoted literals (53 characters): |
||
<syntaxhighlight lang="easylang" |
<syntaxhighlight lang="easylang"> |
||
for i in [44 0 11 10 79 40 0 3 9]write strchar 111-i. |
|||
</syntaxhighlight> |
|||
Alternative method (69 characters): |
Alternative method (69 characters): |
||
<syntaxhighlight lang="easylang">n=15162543273030444;while n>0;write strchar 111-n mod 80;n=n div 80;.</syntaxhighlight> |
<syntaxhighlight lang="easylang">n=15162543273030444;while n>0;write strchar 111-n mod 80;n=n div 80;.</syntaxhighlight> |