Run It Back solution codechef
Ishigami Senku lives in the stone age and has a superhuman grasp of Science and its applications. Senku is trying to make a Sulfa drug. He has other materials but is short of one that is sulfuric acid. He has to go to the deposits of sulfuric acid to get it.
The problem is that the gas the sulfuric acid deposits emit is deadly and will kill on the spot. The place where he wants to go is full of many such deposits. Senku, being a genius has made a gas mask. Run It Back solution codechef
The gas mask functions in the following way:
Among the deposits closest to him, if there are strictly more sulfuric acid deposits than other gases then Senku has to run away and he will not be able to get the sulfuric acid. Otherwise, he can get the acid. Run It Back solution codechef
You have to develop a solution to this problem. Help him out! Run It Back solution codechef
NOTE: Senku is a character from the anime Dr. Stone. Watch it if you get some time.
Codechef is an platform built to programmers compete against others in the community and to improve their knowledge by facing various challenges. Challenges are categorised on the basis of their difficulty level , if your rating is above 2000 you are in top tier i.e, Division 3 and if your rating is between 2000 and 1600 you will be in tier 2 i.e, Division 3 and if your rating is below that you will be in lowest tier i.e, Division 3. You can improve your rating by successful submission with minimum penalty.
- Cheems VS Doge solution codechef
- Game of Primes solution codechef
- Books and Friends solution codechef
- Buy Masks solution codechef
- How I Met Your Mother solution codechef
Also Read : Neenade Naa song lyrics with English Translation