Double Profiles: http://codeforces.com/contest/154/problem/C
Double Profiles: http://codeforces.com/contest/154/problem/C

paramsingh/cp,paramsingh/cp,paramsingh/codechef-solutions,paramsingh/cp,paramsingh/codechef-solutions,paramsingh/cp,paramsingh/codechef-solutions,paramsingh/codechef-solutions,paramsingh/cp