描述 |
---|
Kim have an undirected complete graph with n vertices drawn on a paper. A complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. One day he his naughty little brother came again and erased some vertices and edges. |
输入 |
输出 |
For each case, print a line contains the answer. |
样例输入 |
2 |
样例输出 |
2 |
HINT |
The original graph in simple input 1 look like this: and after delete: so there are 2 connected components. |
来源 |
2017年第八届福建省大学生程序设计竞赛热身赛 |