fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void) {
  5. int buffer[5];
  6. while (fread(&buffer, sizeof(int), 5, stdin)) {
  7. //... void
  8. }
  9. printf("%x %x %x %x %x\n", buffer[0], buffer[1], buffer[2], buffer[3], buffer[4]);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 4560KB
stdin
00000000001111000022220000333300004444000055550000666600
stdout
35353030 30303535 36363030 30303636 30303434