## Bidding Auction Solution Codechef

Bidding Auction Solution Codechef Alice, Bob and Charlie are bidding for an artifact at an auction. Alice bids A rupees, Bob bids B rupees, and Charlie bids C rupees (where A, B, and C are distinct). According to the rules of the auction, the person who bids the highest amount will win the auction. Determine who will win the auction. Input Format Output Format Constraints Sample Input 1 … Read more

## Codechef May Long Challenge 2022 Solution

Codechef May Long Challenge 2022 solution is about to start in next few days. During April Long Challenge we were able to update the solutions on time, we hope to do our best this time. We got great response and reach in terms of audience. We provide Coding Resources for AMCAT, GeekforGeeks, Coding Ninja, Amazon … Read more

## Perfect Imperfections 2 Codechef Solution

Perfect Imperfections 2 Codechef Solution An array of integers is called good if all its elements are perfect squares. You are given an array A of N integers. In one move, you can do the following: Pick a subset of indices of the array, say {i1,i2,…,ik} where 1≤i10 Finally, multiply the value at each chosen … Read more

## Kostomuksha and AESC MSU Codechef Solution

Kostomuksha and AESC MSU Codechef Solution A famous student of AESC MSU, as you know, comes from Kostomuksha. Kostomuksha has a popular game called Doka. The essence of Doka is as follows: You are given an array A and an integer X. You want to calculate how many subarrays of this array have a geometric … Read more

## Minimum Longest Substring Codechef Solution

Minimum Longest Substring Codechef Solution You are given a binary string A of length N. Rearrange the binary string to form binary strings S and T such that the length of the longest common substring between S and T is minimum. Print both strings S and T. Note that both S and T must be … Read more