Codeforces Round #381 (Div. 1), problem: (D) Recover a functional graph Solution in C/C++

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

Hi guys , I just solved the fourth problem of round 381 , Hope you like it , feel free to comment any better solution .     #include<cstring> #include<cstdlib> #include<cstdio> #include<cmath> #include<iostream> #include<vector> #define N 310 #define pb push_back using namespace std; struct [...]