phankhai's blog

By phankhai, 10 years ago, In English

I have a large graph (the number of vertices, edges can be in the range of 50,000-100,000). Have 3 queries:

1 .add one adges

  1. remove one adges

  2. 2 vertices x, y belong to one connected component?

Give an answer for each query type 3 ?

Sorry for my bad English.

Full text and comments »

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

By phankhai, 10 years ago, In English

My code was compiled error but FPC 2.4.2 on my computer compiles normal .

code : 6671643

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it