C-study/02-1/6/6.c
2021-09-29 15:15:39 +08:00

10 lines
121 B
C

#include<stdio.h>
int main()
{
int h,m,s;
scanf("%d:%d:%d",&h,&m,&s);
printf("%d",h*3600+m*60+s);
return 0;
}