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
2025-05-13 08:50:46
PUJEEG ZODN



2025-05-13 08:46:34
puujee huuurhuuuun
2025-02-13 01:58:47
LALARIN CRINGE TUGSUUUU
2025-02-12 03:45:37
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>

using namespace std;

// Headers
string toString (double);
int toInt (string);
double toDouble (string);

int main() {
int us, m, s, h;

cin >> us;
cin >> s;
m = us * 60;
h = m + s;
cout << h << endl;
return 0;
}

// The following implements type conversion functions.
string toString (double value) { //int also
stringstream temp;
temp << value;
return temp.str();
}

int toInt (string text) {
return atoi(text.c_str());
}

double toDouble (string text) {
return atof(text.c_str());
}
2025-02-04 08:00:27
puujee hoorhon
2024-12-11 09:32:02
#include <iostream>
using namespace std;

int main() {

// your code here
int c, m, s;
cin >> m >> s;
c = m*60+s;
cout << c;

return 0;
}
2024-12-11 07:10:09
#include <iostream>
using namespace std;

int main() {

// your code here
int hariu, m, s;
cin >> m >> s;
hariu = m*60+s;
cout << hariu;

return 0;
}
2024-12-10 08:21:38
#include <stdio.h>
using namespace std;

int main() {
int a,b,c,d;
scanf("%d %d",&a,&b);
c=a*60;
d=c+b;
printf("%d",d);
return 0;
}
mai anu
2024-12-09 09:07:44


Last edit: 2024-12-09 09:08:01
2024-12-09 09:07:23


Last edit: 2024-12-09 09:07:55
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.