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

RGB7018 - Жил сар -> сар

Өгөгдсөн жил, сарыг сард шилжүүл.

Input

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

Output

Сар хэвлэгдэнэ.

Example

Input:
2 7
Output:
31

Нэмсэн:Bataa
Огноо:2011-05-19
Хугацааны хязгаарлалт:0.201s
Эх кодын хэмжээний хязгаарлалт: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-02-13 02:29:57
endes huulsann gomo
2025-02-13 02:29:35
/\_/\
(cat)
2025-02-13 02:23:35
DOWN SYNDROMETOI LALRIN LAWAGDORJ
2025-02-13 01:48:55
Mumgunjiguur lesbi
2025-02-12 03:48:54
#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 a, b, c;

cin >> a;
cin >> b;
c = a * 12 + b;
cout << c << 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-07 03:35:02
nominn is gay 8-1

2025-02-06 02:36:47
o i uo o io uo

Last edit: 2025-02-06 02:37:29
2025-01-30 08:49:34
z

Last edit: 2025-01-30 08:49:51
2025-01-28 06:02:16
niger humuust niger ohinl oldon
2025-01-28 05:48:53
comm oos bodlogo hrsnn gmo shv
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.