ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1630. Talisman

xurshid_n if Graph , Full Graph, answer->? [4] // Problem 1630. Talisman 13 Feb 2010 18:02
My solution: checked every component graph,
1) if subgraph = Full graph, yes
else
2) if subgraph = linear graph, yes
else
no.
this is right?
sorry, my bad english.
Sergey Lazarev (MSU Tashkent) Re: if Graph , Full Graph, answer->? // Problem 1630. Talisman 13 Feb 2010 19:02
First condition is true only for full graph with 3 or 4 vertices.
luckysundog Re: if Graph , Full Graph, answer->? [2] // Problem 1630. Talisman 20 Feb 2011 01:39
1) and 2) are right. but there exists another lucky graphs. i've got WA7 and i think test#7 is not a full graph or linear.
bsu.mmf.team Re: if Graph , Full Graph, answer->? // Problem 1630. Talisman 20 Feb 2011 23:48
I got AC with only statements written above. Read them more attentively: every connected component of this graph should satisfy them, not entire graph.
kerpoo Re: if Graph , Full Graph, answer->? // Problem 1630. Talisman 12 Sep 2016 05:58
WA#7
trees aren't linear :)

Edited by author 12.09.2016 05:58