#I. [愚人节 2026 I] Rin's Counting

    传统题 1000ms 256MiB

[愚人节 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 有一个 nn 个点 mm 条边的无向图,点的编号为 1n1\sim n

给定正整数 kk,Rin 想知道所有包含 11kk 元环的个数。请你帮帮她。

Format

Input

第一行三个正整数 n,m,kn,m,k

下面 mm 行,每行两个正整数 u,vu,v,表示一条无向边 (u,v)(u,v)

Output

一行一个正整数,即答案。

Samples

4 5 3
1 2
2 3
2 4
1 3
3 4
1

Limitation

对于所有数据,1n,m1051\le n,m\le 10^51k301\le k\le 301u,vn1\le u,v\le n

本题开启捆绑测试。

  • Subtask 1(30 pts):满足 1n,m,k51\le n,m,k\le 5
  • Subtask 2(70 pts):无特殊限制。

[CZR-(-002)] CZOJ 2026 愚人节比赛

未参加
状态
已结束
规则
IOI
题目
13
开始于
2026-3-20 20:00
结束于
2026-4-6 19:00
持续时间
407 小时
主持人
参赛人数
50