Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Programming challenge

Name: Anonymous 2009-12-27 2:04

Print "SUSSMAN\n" twice in 40 bytes or less.

Name: Anonymous 2009-12-27 17:41

>>19

in my .${SHELL}rc
~/a.out
a.out is compiled from a.c


in a.c

#include <stdio.h>
#define ARBITRARY 10

int main(void)
{
    int i;
    for(i = 0; i < ARBITRARY; i++)
        ungetc('h', stdin);
    for(;;)
        puts("SUSSMAN");
}


That's a total of -ARBITRARY chars used.
I bid thee good day, sir.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List