fork(1) download
  1. main(a,b,c){char s[99];scanf("%d-%d%d%s",&a,&b,&c,s);printf("%d-%d NO.%d\n%s(%c)\nBirthDay %d/%d",c/1000,c/100%10,c%100,s,b/1000000<2?77:70,a/100%100,a%100);}
Runtime error #stdin #stdout 0s 1792KB
stdin
981121-1812112
1121
JOHN
stdout
1-1 NO.21
JOHN(M)
BirthDay 11/21