Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7014 - Цаг, минут, секунд -> секунд

Өгөгдсөн цаг, минут, секундыг секунд рүү шилжүүл.

Input

Цаг, минут, секунд зайгаар тусгаарлагдан нэг мөрөнд Int төрлөөр өгөгдөнө.

Output

Секунд гарна.

Example

Input:
1 2 3
Output:
3723

Нэмсэн:Bataa
Огноо:2011-05-15
Хугацааны хязгаарлалт:0.5s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2014-09-16 12:40:54 otgonmygmar
#include<stdio.h>
#include<stdlib.h>
main()
{
int h,m,s,n;
scanf("%d %d %d",&h,&m,&s);
n=h*3600+m*60+s;
printf("%d",n);
system("pause");
}
2014-01-19 03:34:06 ymjir
#include<stdio.h>
#include<stdlib.h>
main()
{
int h,m,s,n;
scanf("%d %d %d",&h,&m,&s);
n=h*3600+m*60+s;
printf("%d",n);
system("pause");
}
2013-12-05 01:14:30 Mz
#include<stdio.h>
#include<stdlib.h>
main()
{
int h,m,s,n;
scanf("%d %d %d",&h,&m,&s);
n=h*3600+m*60+s;
printf("%d",n);
system("pause");
}

2013-10-28 02:53:45 solongo
#include <stdio.h>
main ()
{
//freopen ("a.in","r",stdin);
//freopen ("a.out","w",stdout);
int a,b,c,n;
scanf ("%d %d %d",&a,&b,&c);
n=a*3600+b*60+c;
printf ("%d",n);
}

2013-01-11 09:53:28 amartuvshin
#include<stdio.h>main(){ int a,b,c,s; scanf("%d %d %d",&a,&b,&c); s=a*3600+b*60+c; printf("%d",s);}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.