Одна буква чи цифра
Перегляд у форматі PDF
Надіслати розв'язок
Бали:
1,00 (partial)
Time limit:
0.3s
Memory limit:
256M
Input:
stdin
Output:
stdout
Suggester:
Problem type
Задача 3 зі списку https://dmoj.cdu.edu.ua/media/martor/RegEx.pdf
Очікується, що Ви не писатимете задачу «з нуля», а лише заміните regEx-и (регулярні вирази) в ось цьому майже-розв'язку
Вхід
Vertex $v_1$ is isolated ---
it's of degree 0.
Vertice $v_2$, $v_{7}$
and $v_{12}$ are terminal ---
each of them is of degree 1.
Результат
Vertex v[1] is isolated ---
it's of degree 0.
Vertice v[2], $v_{7}$
and $v_{12}$ are terminal ---
each of them is of degree 1.
Коментарі