Vosatorp / Topology_task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number of edge circles of the disk with unrolled ribbons

The above program, using a word of length 2n, in which each letter occurs twice, builds a graph whose number of connectivity components is equal to the number of edge circles of the disk with unrolled ribbons corresponding to this word

Input format:

A word of length 2n in which each letter occurs twice.

Output format:

The number of edge circles of the disk with unrolled ribbons corresponding to this word.

About


Languages

Language:C++ 100.0%