Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

### frochbg's blog

By frochbg, history, 14 months ago, ,

Hi Codeforces, Today I decided to learn Convex hull trick, but I cannot find materials in internet. I need your help. Thank you in advance :)

• -10

By frochbg, history, 17 months ago, ,

Hi Codeforces, I have a problem where the solution is to solve diofant equation with K unknowns and K > 2. For example one equation of this type is: a1 * x + a2 * y + a3 * z = n and I have to find one solution of x, y and z. It is guaranteed that the equation always have a solution. Are there any algorithm that solve this problem? I will be thankful for helping :)

• 0

By frochbg, history, 20 months ago, ,

Hello! I want to learn disjoint set structure and how to optimize Kruskal's algorithm. I tried to find good tutorial, but I did not find it. I will be happy if you help me.

• -1

By frochbg, history, 2 years ago, ,

Hi Codeforces, I ask for help. Can I make a variable which is int type, but when it overflow, it convert to long long type. For example I make an integer variable x. I give max integer value on x. When I add 1 to x, I do not want to overflow. I want to make ( auto convert to) long long and continue with next number. Is it possible? I am sorry if I ask a stupid question.