10 lines
121 B
C
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;
|
||
|
}
|