Skip to content

Instantly share code, notes, and snippets.

@palloc
Created September 7, 2015 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palloc/1766dedf2573ee804f2d to your computer and use it in GitHub Desktop.
Save palloc/1766dedf2573ee804f2d to your computer and use it in GitHub Desktop.
stego100
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(){
char buf[1048576];
int ch;
fputs(fgets(buf,sizeof(buf),stdin),stdout);
fputs(fgets(buf,sizeof(buf),stdin),stdout);
fputs(fgets(buf,sizeof(buf),stdin),stdout);
while((ch=getchar())!=EOF){
putchar((ch&1)? ch/2:255);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment