hamidreza.hanify's blog

By hamidreza.hanify, history, 6 years ago, In English

Hello codeforces,

I'v recently been struggling with this problem Xor-MST.In it's tutorial it says u should use Boruvka's algorithm. For sake of learning i'v been trying to solve it using prim's algorithm but it runs out of time. I was wondering if it's some inefficiency in my coding or it's the algorithm which can't solve the problem in given time? here is my last code submitted: MY CODE

thanks in advance.

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it