Блог пользователя kushb30

Автор kushb30, история, 3 года назад, По-английски

Why there is no new contest upcoming on code forces?? It just felt kind of weird that there is no new contest coming. When will there be a new contest ?? Any ideas

Полный текст и комментарии »

  • Проголосовать: нравится
  • +107
  • Проголосовать: не нравится

Автор kushb30, история, 4 года назад, По-английски

Given multiple inputs of the edges in a graph such as(first line being number of connections):

4 1 2 2 3 5 6 1 5

I have to check that after each input whether the graph remains bipartite or not, we will just break if graph is non-bipartite. I think this is some graph coloring problem but I am unable to implement it, please help me by providing some algorithm to do so.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится