Code Melange Write Up

Link to Contest: https://www.codechef.com/CMEL2018 Candy Love: Link to problem: https://www.codechef.com/CMEL2018/problems/CNDLOVE Problem Description: Given N numbers. We are supposed to arrange all those N numbers into two piles such that the difference of the sum between the two piles is 1. We can split a number and distribute it to different piles. Constraints: 1 <= N …

WriteUp for Codeforces Round #467

Link to contest: http://codeforces.com/contest/937 Problem-A Link to problem: http://codeforces.com/contest/937/problem/A Problem Statement (In short): You are supposed to output the number of unique numbers in the given array other than zero Constraints: No of numbers is less than 100 and each number lies in the range of 0 to 600 Solution: Although the problem statement is a bit …