moth/doc/2011-01-CMU/thanks/thanks.c

20 lines
532 B
C

char *t = (
"Thank you for helping make Capture The Flag a success! We couldn't"
"have done it without you."
"As our way of saying thank you, we humbly offer this image"
"proclaiming you to be a cool person. Please feel free to print"
"off a copy of this image and post it in your window, over your"
"pannier, on your forehead, or wherever else you feel is appropriate."
"Sincerely,"
" The Dirtbags"
);
#include <stdio.h>
int main(){char*p=t;while(1){int
c=getchar();if(EOF==c)break;
putchar(c^*p);if(!*++p)p=t;}return
0;}