Uncategorized

Say No To Drugs solution codechef- There are NN people participating in a race. The NthNth participant is your friend, so you want him to win. You are not a man of ethics, so you decided to inject some units of a Performance Enhancement Drug (don’t ask where that came from) in your friend’s body.

For Solution Click Here! There are NN people participating in a race. The NthNth participant is your friend, so you want him to win. You are not a man of ethics, so you decided to inject some units of a Performance Enhancement Drug (don’t ask where that came from) in your friend’s body. From …

Read More »

The Old Saint And Three Questions codechef solution- Once upon a time, there was a hero and an old saint. And like in any story with a hero and an old saint, the old saint asked the hero — three questions!

The Old Saint And Three Questions codechef solution For Solution Click Here! Once upon a time, there was a hero and an old saint. And like in any story with a hero and an old saint, the old saint asked the hero — three questions! But here’s the twist: each …

Read More »

Palindromic Crossword kickstart solution

Problem A crossword puzzle is a rectangular grid of black cells and letters A-Z like the one shown below. Words in the crossword are defined as maximal vertical or horizontal segments of characters. In the crossword below, DO and ON are examples of words. A palindromic crossword is one where every word is a palindrome. Let Ri,jRi,j represent the character on …

Read More »

Infinity Table solution codeforces

Infinity Table solution codeforces Polycarp has found a table having an infinite number of rows and columns. The rows are numbered from 11, starting from the topmost one. The columns are numbered from 11, starting from the leftmost one. Initially, the table hasn’t been filled and Polycarp wants to fix it. He …

Read More »

Who’s Opposite? solution codeforces

Who’s Opposite? solution codeforces Some number of people (this number is even) have stood in a circle. The people stand in the circle evenly. They are numbered clockwise starting from a person with the number 11. Each person is looking through the circle’s center at the opposite person.   A sample …

Read More »

Dislike of Threes solution codeforces

Dislike of Threes solution codeforces Polycarp doesn’t like integers that are divisible by 33 or end with the digit 33 in their decimal representation. Integers that meet both conditions are disliked by Polycarp, too. Polycarp starts to write out the positive (greater than 00) integers which he likes: 1,2,4,5,7,8,10,11,14,16,…1,2,4,5,7,8,10,11,14,16,…. Output the kk-th element of this sequence (the …

Read More »

Nearest Beautiful Number (hard version) solution codeforces

Nearest Beautiful Number (hard version) solution codeforces It is a complicated version of problem F1. The difference between them is the constraints (F1: k≤2k≤2, F2: k≤10k≤10). You are given an integer nn. Find the minimum integer xx such that x≥nx≥n and the number xx is kk–beautiful. A number is called kk–beautiful if its decimal representation having no leading zeroes contains no more …

Read More »

Udaariyan Written Update 16 August 2021

Udaariyan by Colors TV is one of the most loved television series by the Indian public. The public wishes to know about the upcoming episode beforehand. This talks about the popularity of the show. To help the curious public, we have mentioned the Udaariyan Written Update 16 August here. You can …

Read More »

Barrister Babu Written Update 16 August 2021

Barrister Babu by Colors TV is one of the most loved television series by the Indian public. The public wishes to know about the upcoming episode beforehand. This talks about the popularity of the show. To help the curious public, we have mentioned the Barrister Babu 16 August 2021 Written Update …

Read More »