Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Study
Tests (
)
Solved
My problems
Profile
Олимпиадный тренинг
Задача
27314
.
Difference
Задача
Темы:
Комбинаторные структуры
Print the difference between the number of binary trees with
N
leaves and the number of partitions of the
N
-gon into triangles.
Input
The input is a single number -
N
(
\(1 <= N <= 10\)
)
Output
Print one number - the desired difference
Examples
#
Input
Output
1
1
0
1000
ms
256 Mb
Правила оформления программ и список ошибок при автоматической проверке задач
Комментарий учителя