fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char buf[100];
  5. int y, z;
  6. scanf("%3s%4d%7d", buf, &y, &z);
  7. printf("%s %d %d", buf, y, z);
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 1680KB
stdin
ABC00011234567
stdout
ABC 1 1234567