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

RGB7090 - Шагай

k ширхэг шагайг орхиход /хаяхад/ буух ялгаатай боломжийн тоог ол. Шагай нь морь, тэмээ, хонь, ямаа гэсэн 4 янзаар бууна.

Input

Шагайны тоо өгөгдөнө.

Output

Ялгаатай буултын тоо.

Example

Input:
4

Output:
35

Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт: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
2022-10-30 09:28:24
#include <iostream>
using namespace std;
int main() {
int a,b,c, s=0,n;
cin>>n;
for(a=0; a<=n; a++) {
for(b=0; a+b<=n; b++)
for (c=0;a+b+c<=n;c++){
s++;
}
} cout<<s;
return 0;
}

ez
2022-10-25 03:16:37
#include <iostream>
using namespace std;

int main() {
int k,a=1,b=1,c=1,d=1,i=1;
cin>>k;
while(i<k){
b=a+b;
c=b+c;
d=c+d;
i++;
}
cout<<a+b+c+d;
return 0;
} bitii huulaad baildaa oilgoj bod mii duu
2022-10-20 18:35:06


Last edit: 2022-10-20 18:35:20
2022-10-06 06:29:31
so hard

Last edit: 2022-10-06 06:31:07
2022-09-26 11:15:11
pop sdanud--
2022-09-26 11:03:53
huulha bolio ahiin dv




























































































































































































































































































































































































































































































































































































boli sdmn
2022-09-26 11:03:50
huulha bolio ahiin dv




























































































































































































































































































































































































































































































































































































boli sdmn
2022-09-26 11:03:48
huulha bolio ahiin dv




























































































































































































































































































































































































































































































































































































boli sdmn
2022-09-26 11:03:42
huulha bolio ahiin dv




























































































































































































































































































































































































































































































































































































boli sdmn
2022-09-26 11:03:38
huulha bolio ahiin dv




























































































































































































































































































































































































































































































































































































boli sdmn
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.