### zeldris's blog

By zeldris, history, 3 years ago,

Hello. In the contest of my university fell the following problem: Given D (-1000 <= D <= 1000) the determinant of a 2x2 matrix, obtain the matrix that has this determinant and the 4 elements [a, b, c, d] such that a! = B! = C! = D and a, b, c, d! = 0

Any hint of how to do this without without O (n ^ 4)

• +2

By zeldris, history, 3 years ago,

Hi everyone. I have a question about a combination with HLD and TREAP. Is it possible to rotate the path between (u, v)?

• 0

By zeldris, history, 3 years ago,

Hello everyone

I'm writing a problem for a contest in my college, so I need generate a planar graph. I need to make sure the graph is planar. Is there any trick to generate such graphs?

• 0

By zeldris, history, 3 years ago,

Hi,

I'm try to solve a problem about trees where I need make a range update. Someone can explain me how I do this?

Thx

• -14

By zeldris, history, 3 years ago,

Hello,

I need to build a connected graph with 1e5 vertices and 4e5 edges, but when I try to create using rand () I can not get such a graph. can anybody help me?

P.S. the edges must be different.

• +5