[愚人节 2026 I] Rin's Counting
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Rin 有一个 个点 条边的无向图,点的编号为 。
给定正整数 ,Rin 想知道所有包含 的 元环的个数。请你帮帮她。
Format
Input
第一行三个正整数 。
下面 行,每行两个正整数 ,表示一条无向边 。
Output
一行一个正整数,即答案。
Samples
4 5 3
1 2
2 3
2 4
1 3
3 4
1
Limitation
对于所有数据,,,。
本题开启捆绑测试。
- Subtask 1(30 pts):满足 。
- Subtask 2(70 pts):无特殊限制。
[CZR-(-002)] CZOJ 2026 愚人节比赛
- 状态
- 已结束
- 规则
- IOI
- 题目
- 13
- 开始于
- 2026-3-20 20:00
- 结束于
- 2026-4-6 19:00
- 持续时间
- 407 小时
- 主持人
- 参赛人数
- 50