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.|

RGB7013 - Минут секунд -> секунд

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

Input

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

Output

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

Example

Input:
3 4
Output:
184

Нэмсэн:Bataa
Огноо:2011-05-15
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт: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-10-23 02:35:19 dulmaa
#include<stdio.h>
main()
{
int m,s;
scanf("%d %d",&m,&s);
s=m*60+s;
printf("%d",s);
}
2014-01-13 01:53:59 No Problem
#include<stdio.h>
main()
{
int m,s,S;
scanf("%d %d",&m,&s);
S=m*60+s;
printf("%d",S)
}
2013-10-28 05:59:02 Davaadulam
#include<stdio.h>
main()
{
int m,s;
scanf("%d %d",&m,&s);
s=m*60+s;
printf("%d",s);
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.