-
Count pairs (a, b) whose sum of cubes is N (a^3 + b^3 = N) in C++
-
Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N) in C++
-
Count pairs (i,j) such that (i+j) is divisible by both A and B in C++
-
Count pairs from two arrays having sum equal to K in C++
-
Count numbers which can be constructed using two numbers in C++
-
Count square and non-square numbers before n in C++
-
Count strings that end with the given pattern in C++
-
Count Primes in Ranges in C++
-
Count quadruples from four sorted arrays whose sum is equal to a given value x in C++
-
Count pieces of the circle after N cuts in C++
-
Count numbers whose sum with x is equal to XOR with x in C++
-
Count numbers whose difference with N is equal to XOR with N in C++
-
Count numbers whose XOR with N is equal to OR with N in C++
-
Count number of ways to divide a number in parts in C++
-
Count number of trailing zeros in product of array in C++
-
Count numbers which can be represented as sum of same parity primes in C++
-
Count numbers have all 1s together in binary representation in C++
-
Count triplet pairs (A, B, C) of points in 2-D space that satisfy the given condition in C++
-
Count ways to reach the nth stair using step 1, 2 or 3 in C++
-
Count ways to spell a number with repeated digits in C++