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
2018-02-13 09:50:22
#include<stdio.h>
#include<stdlib.h>
main()
{
int a,b,c,y,z;
scanf("%d%d",&a,&b);
c=a*60;
y=b%60;
z=c+y;
printf("%d",z);
} gz d
2018-02-13 09:49:29
#include<stdio.h>
#include<stdlib.h>
main()
{
int a,b,c,y,z;
scanf("%d%d",&a,&b);
c=a*60;
y=b%60;
z=c+y;
printf("%d",z);
} gz d
2018-01-06 08:46:20
#include<stdio.h>
#include<stdlib.h>
main()
{
int a,b,c,y,z;
scanf("%d%d",&a,&b);
c=a*60;
y=b%60;
z=c+y;
printf("%d",z);
}

2016-11-29 17:23:18
#include<stdio.h>
main(){

int a,b,c,y,z;

scanf("%d%d",&a,&b);

c=a*60;
y=b%60;
z=c+y;

printf("%d",z);
}


2016-03-02 13:42:28
shafari

2015-01-07 07:02:31 Flash
#include<stdio.h>
int a,b,c,s,p;
main()
{
scanf("%d%d",&a,&b);
c=a*60;
s=b+c;
printf("%d",s);
scanf("%d");
}
2015-01-07 06:12:50 Flash
#include<stdio.h>
int a,b,x;
main()
{
scanf("%d %d",&a,&b);
s=a*60,x=a+b;
printf("%d",x);
}


Last edit: 2015-01-07 06:14:19
2015-01-07 06:12:40 Flash
Language available only on Cube Cluster
2015-01-07 06:12:04 Flash
Language available only on Cube Cluster
2015-01-07 05:49:10 Flash
#include<stdio.h>
int a,b,k,s,p,i;
main()
{
scanf("%d %d %d",&a,&b,&k);
s=0;p=0;
for(i=a;i<=b;i++)
{
if(i%k==0)
{
s=s+1;
p=p+i;
}
}
printf("%d %d",s,p);
scanf("%d");
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.