fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a,b,c,d;
  5. scanf("%d",&a);
  6. b=a/3600;
  7. c=(a-b*3600)/60;
  8. d=a-b*3600-c*60;
  9. printf("%d",b,c,d);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5320KB
stdin
2 10
stdout
Standard output is empty