Codeforces Round #381 (Div. 1), problem: (B) Alyona and a tree Solution in C/C++

By |2017-04-07T22:11:49+00:00November 27th, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , , |

Hi guys , I just solved the second problem of round 381 , Hope you like it , feel free to comment any better solution .   #include<stdio.h> #include<stdlib.h> typedef long long unsigned llu; typedef unsigned u; u P[19][222222],S[222222],R[222222],A[222222]; u *G[222222],Ga[222222],Gi[222222]; llu W[19][222222]; void [...]