#P5827. 点双连通图计数
点双连通图计数
Background
Problem Description
Find the number of labeled vertex-biconnected graphs on vertices (a simple undirected graph, and the whole graph is one vertex-biconnected component). Output the answer modulo .
Input Format
There are five lines in total. Each line contains one integer , representing one query.
Output Format
There are five lines in total. Each line contains one integer, representing the answer to one query.
1
2
3
4
5
1
1
1
10
238
Hint
Constraints: .
Translated by ChatGPT 5