We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • Practice
  • Certification
  • Compete
  • Career Fair
  • Hiring developers?
  1. Practice
  2. Algorithms
  3. Graph Theory
  4. Jim and his LAN Party
  5. Discussions

Jim and his LAN Party

Problem
Submissions
Leaderboard
Discussions
Editorial

Sort 12 Discussions, By:

votes

Please Login in order to post a comment

  • vworld4u 4 years ago+ 0 comments

    I solved the problem properly for all testcases, but it timed out for a single Testcase which took 13 secs on my machine. I am clueless about the kind of datastructure to select for this problem. But great problem to solve!

    5|
    Permalink
  • imran13 4 years ago+ 0 comments

    I think,it can be solved using only disjoint set data structure,without any binary search.Although I got wrong answers in 2 test cases.

    1|
    Permalink
  • eugnik_heller 5 years ago+ 0 comments

    Russian translation has mistake in the output format description Should be 'for every color', not 'for every edge'

    1|
    Permalink
  • mr_igogo88 1 year ago+ 0 comments

    Did anyone manage to solve it in Python? Getting timeout for single TC...

    0|
    Permalink
  • voundour 2 years ago+ 0 comments

    I can't see any use for the "m" in the inputs .. am I wrong ??

    0|
    Permalink
Load more conversations

Need Help?


View editorial
View top submissions
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature