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

RGB7072 - Нийлбэр 3

Өгөгдсөн сондгой тоо n хүртэлх натурал сондгой тоонуудын нийлбэрийг ол. Давталт ашиглахгүй.

Input

Сондгой натурал тоо өгөгдөнө.

Output

Нийлбэр.

Example

Input:
9

Output:
25

Нэмсэн:Bataa
Огноо:2013-01-06
Хугацааны хязгаарлалт: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
2019-03-18 12:01:06
#include<bits/stdc++.h>
using namespace std;
int n,i,j=0;
int main(){
cin>>n;
for(i=1;i<=n;i++){
if(i%2==1){
j=j+i;
}
else j=j+0;
}
cout<<j;
return 0;
}
2019-03-13 06:56:18
#include <stdio.h>

int main(void) {
int n,s;
scanf("%d", &n);
{
s=n*(n+2)/4+1;
};
printf("%d",s);

return 0;
}

2019-03-11 07:39:28
lalruud

2019-03-06 10:07:03
hi
2019-01-18 07:10:16
hhahah t1 2 ym hamt bga bj
2019-01-18 06:04:19
ysiig cn tuuh gj lai
2019-01-18 06:03:42
hoyulaa uulzaab garchhu
2019-01-18 06:03:23
mal min hugarhui d
2019-01-18 06:01:50
solior dagz mine
2019-01-18 06:01:34
huts buyka
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.