Getting WA for simple graph constructive problem.

Revision en1, by 2ndSequence, 2020-05-02 13:54:36

i am getting WA test 6. Here is the Problem. Here is also my submission.. it should be a simple problem but i don't know why am i getting wrong answer. my approach for maximum isolated nodes is to make a fully connected graph with k nodes that will take all of the m edges.

Tags #graph theory, #constructive algorithms

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 2ndSequence 2020-05-02 13:54:36 502 Initial revision (published)