Tuesday, May 31, 2016

SOLUTION OF URI 1019


//    question of uri 1019 Time Conversion
 // 1019  (Mahmud_Jamil) BRUR






#include <stdio.h>
#include <math.h>
int main()
{
    int a,b=3600,x=60,c,d,e,f;
    scanf("%d",&a);
    c=a/b;
    d=a%b;
    e=d/x;
    f=d%x;
    printf("%d:%d:%d\n",c,e,f);

    return 0;
}