#P5828. 边双连通图计数
边双连通图计数
Problem Description
Find the number of labeled edge-biconnected graphs on vertices (simple undirected graphs where the whole graph is a single edge-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
0
1
10
253
Hint
Constraints: .
Translated by ChatGPT 5