fork(1) download
  1. int main(void) {
  2. int S;
  3.  
  4. printf("秒数> ");
  5. scanf("%d", &S);
  6. printf("%d:%d:%d\n", S/3600, S/60%60, S%60);
  7. }
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
秒数> 9:6:4