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

SO10 - Нийлбэр ол

N тоо өгөгдөв.  3+9+17+27+...+(n2+3n-1)  нийлбэрийг ол.

Input

n тоо өгөгдөнө. (1<=n<=2^32)

Output

Үр дүнг хэвлэ.

Example

Input:
3

Output:
29

Нэмсэн:munkhbat
Огноо:2013-03-20
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP JULIA PYPY3

hide comments
2024-12-02 04:40:37


Last edit: 2024-12-02 04:40:49
2024-11-25 06:47:50



























































































































































































































2024-11-25 06:47:24
2023-03-21 04:27:20
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
2023-03-21 04:27:00
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
2023-03-21 04:26:27
Leave a Comment
|Notes:|
2023-03-21 04:27:20
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
2023-03-21 04:27:00
SO10 - Нийлбэр ол
N тоо өгөгдөв. 3+9+17+27+...+(n2+3n-1) нийлбэрийг ол.

Input
n тоо өгөгдөнө. (1<=n<=2^32)

Output
Үр дүнг хэвлэ.

Example
Input:
3

Output:
29
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP PYPY3
hide comments
2023-03-21 04:26:27 (edit)
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11 (edit)
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
ХЯЛБАРААС ХҮНДРҮҮ УРАГШАА
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.
2023-03-21 04:26:27
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2023-03-21 04:26:11
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:36:58

Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
2022-02-13 02:34:00
Нэмсэн: munkhbat
Огноо: 2013-03-20
Хугацааны хязгаарлалт: 1s
Эх кодын хэмжээний хязгаарлалт: 50000B
Memory limit: 1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM64
Leave a Comment
|Notes:|
1. Don't post any source code here.|
2. Please be careful, leave short comments only. Don't spam here.|
3. For more discussion (hints, ideas, solutions) please visit our forum.|
4. Authors are allowed to delete the post and use html code here (e.g. to provide some useful links).|
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.