ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1077. Travelling Tours

StarForever I know the agorithm, but who can prove it? [5] // Задача 1077. Travelling Tours 11 янв 2007 06:49
let N be the node num of the graph.
so why the maximum cycle number is M-N+1?
where M is the edge num.

please...
StarForever Re: I know the agorithm, but who can prove it? [3] // Задача 1077. Travelling Tours 11 янв 2007 08:09
o, sorry, I made a mistake...
Archit Re: I know the agorithm, but who can prove it? [2] // Задача 1077. Travelling Tours 11 янв 2007 11:30
is ur problem solved
Vedernikoff Sergey Re: I know the agorithm, but who can prove it? [1] // Задача 1077. Travelling Tours 11 янв 2007 14:59
The correct formula is M-N+K, where K is the number of connected components of given graph. Why is not the question, if you know algo of building all these cycles...
Chmel_Tolstiy Re: I know the agorithm, but who can prove it? // Задача 1077. Travelling Tours 15 апр 2008 00:38
Great hint. Thanks.

Edited by author 13.10.2022 15:00

Edited by author 13.10.2022 15:00