Essay on GST

Tax is such an instrument which gives shape to the government and law of any country because taxation is the main source of income of the government. All the countries collect tax from the citizens according to their respective laws and use it for the progress of the nation. Taxes are generally of two types- … Read more

Luntik and Concerts solution codeforces

Luntik and Concerts solution codeforces Luntik has decided to try singing. He has $$$a$$$ one-minute songs, $$$b$$$ two-minute songs and $$$c$$$ three-minute songs. He wants to distribute all songs into two concerts such that every song should be included to exactly one concert. He wants to make the absolute difference of durations of the concerts … Read more

Luntik and Subsequences solution codeforces

Luntik and Subsequences solution codeforces Luntik came out for a morning stroll and found an array $$$a$$$ of length $$$n$$$. He calculated the sum $$$s$$$ of the elements of the array ($$$s= \sum_{i=1}^{n} a_i$$$). Luntik calls a subsequence of the array $$$a$$$ nearly full if the sum of the numbers in that subsequence is equal to $$$s-1$$$. … Read more

Vupsen, Pupsen and 0 solution codeforces

Vupsen, Pupsen and 0 solution codeforces Vupsen and Pupsen were gifted an integer array. Since Vupsen doesn’t like the number 00, he threw away all numbers equal to 00 from the array. As a result, he got an array aa of length nn. Pupsen, on the contrary, likes the number 00 and he got upset when he saw the array without zeroes. To … Read more