#include<stdio.h> int main () { int secinds = 0; int a = 0; scanf("%d",&secinds); a = secinds / 3600; printf("%d ",a); int b = (secinds % 3600) / 60; printf("%d ",b); int c = secinds % 3660 % 60; printf("%d",c); return 0; }
#include<stdio.h> int main () { int secinds = 0; int a = 0; scanf("%d",&secinds); a = secinds / 3600; printf("%d ",a); int b = (secinds % 3600) / 60; printf("%d ",b); int c = secinds % 3660 % 60; printf("%d",c); return 0; }