[ create a new paste ] login | about

Link: http://codepad.org/gS0u5sN3    [ raw code | output | fork ]

C, pasted on Jul 25:
1
2
3
4
5
6
7
8
r;f(char*s){for(;*s;(*s|32)-32||(putchar(r),r=0))r=2*r|*s++&1;}

int main(void){
	f("1001000 1100101 1101100 1101100 1101111 100000 1010111 1101111 1110010 1101100 1100100 00100001");
	puts("");
	f("01001000 01100101 01101100 01101100 01101111 00101100 00100000 01000110 01100101 01101100 01101100 01101111 01110111 00100000 01000111 01101111 01101100 01100110 01100101 01110010 01110011 00100001");
	return 0;
}


Output:
1
2
Hello World!
Hello, Fellow Golfers!


Create a new paste based on this one


Comments: