Skip to content

Instantly share code, notes, and snippets.

@windytan
Created February 10, 2013 08:37
Show Gist options
  • Save windytan/4748900 to your computer and use it in GitHub Desktop.
Save windytan/4748900 to your computer and use it in GitHub Desktop.
while(not eof(STDIN)) {
read(STDIN,$a,2);
$a = unpack("s",$a);
print $a."\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment