Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 40121 articles
Browse latest View live

Please share , Your Logic for solving INTERVAL feb17

What was the logic in this question . I could solve it only for m=2 . Please explain the logic in simple way , I am a mere beginner.

View Article


wrong answer help, new to codechef

Can anybody please help me with the input test case for which the code at http://www.codechef.com/viewsolution/3002163 is giving wrong answer? New to codechef.

View Article


Image may be NSFW.
Clik here to view.

Invitation to Alkhwarizm-2017

The much awaited signature event of IIIT Allahabad's Tech Fest Aparoksha 2017 is here to endeavour with a challenging problem set. It will be a 5 hour individual contest with algorithmic problem-set...

View Article

Snackdown 2017 - team composition

Wanted to know whether this time as well we would need to have a partner from same organization? If we indeed want team members from same org, why can't we allow people who have been part of same org...

View Article

Can anyone teach me DP on trees with the help of solving this question?

I came across this problem (DP on trees): http://acm.timus.ru/problem.aspx?space=1&num=1018I solved some beginner level problems on DP but I am not able to get the logic of this particular topic. I...

View Article


BTREEKK - Editorial

PROBLEM LINK:PracticeContestAuthor:Kunal KhannaEditorialist:Arjun PDIFFICULTY:Easy-MediumPREREQUISITES:NonePROBLEM:You have a complete binary tree of $N$ nodes. Given an integer $X$, find two...

View Article

ICD02-Editorial

#PROBLEM LINK:problemAuthor:Yasha JadwaniTester :Prabhsimran KaurEditorialist:Prabhsimran KaurDIFFICULTY :SimplePREREQUISITES :MathPROBLEM:Given is an array where each element denote the height of a...

View Article

DISTNUM - Editorial

PROBLEM LINK:ContestPracticeAuthor:Misha ChorniyTester:Hiroto SekidoEditorialist:Kevin AtienzaDIFFICULTY:Super HardPREREQUISITES:Segment trees, Range trees, Self-balancing binary trees, 2D Fenwick...

View Article


SUBSEG2 - Editorial

PROBLEM LINK:ContestPracticeAuthor:Sergey KulikTesters:Vasya Antoniuk and Kevin AtienzaTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Kevin...

View Article


SIMPROB - Editorial

PROBLEM LINK:ContestAuthor: thvardhanTester: thvardhanDIFFICULTY:CakeWalkPREREQUISITES:Sridhar Acharya RulePROBLEM:You are given A,B,C of a quadratic equation you have to find its roots.QUICK...

View Article

CDIT03 - Editorial

PROBLEM LINK:PracticeContestAuthor:Hardik Singh NegiTester:Amandeep SinghEditorialist:Akshay SharmaDIFFICULTY:EASY-MEDIUMPREREQUISITES:ArraysPROBLEM:That computer gives a token, which consists of space...

View Article

KOL1511 - Editorial

PROBLEM LINK:ContestPracticeAuthor:Piyush KumarTester:Kevin AtienzaEditorialist:Kevin AtienzaPREREQUISITES:Euler's totient function, Euclidean algorithm, gcdPROBLEM:Given $A$, $B$ and $N$ satisfying $A...

View Article

Image may be NSFW.
Clik here to view.

NICENESS - Editorial

PROBLEM LINK:ContestProblemAuthor:Praveen DhinwaTester:Kevin AtienzaEditorialist:Kevin AtienzaPREREQUISITES:Greedy algorithmsPROBLEM:Given a tree, a nice node is any node with degree $\ge 3$. The...

View Article


CHMKTRPS - Editorial

PROBLEM LINK:PracticeContestAuthor:Antoniuk VasylTester:Antoniuk Vasyl and Misha ChorniyEditorialist:Praveen DhinwaDIFFICULTY:challengePREREQUISITES:greedy, randomized algorithmPROBLEM:Given an array...

View Article

MAXISUM - Editorial

PROBLEM LINK:ContestPracticeAuthor:Praveen DhinwaTester:Kevin AtienzaTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Kevin...

View Article


FUZZYADD - Editorial

PROBLEM LINK:ContestPracticeAuthor:Kevin AtienzaTester:Istvan Nagy and Kevin AtienzaEditorialist:Kevin AtienzaPREREQUISITES:Probability, expected value, probability distribution, amortized...

View Article

NPLQLC - Editorial

PROBLEM LINK:PracticeContestAuthor:Aniket MarlapalleTester:Harsh ShahEditorialist:Aniket MarlapalleDIFFICULTY:EASY-MEDIUMPREREQUISITES:DP, Dijkstra's AlgorithmPROBLEM:Given a row of buildings where you...

View Article


LUCKY5 - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONIn this problem the only thing you should notice is that the only operation that you need to use is the changing of digits.Indeed, adding leading...

View Article

DataBread.in : A Place to Track your Algorithmic Ratings from Everywhere.

Hello Coders,Hope you are having a great time. I take the pleasure in introducing you to DataBread where you can see all your friends ratings from different competitive programming websites (Codechef,...

View Article

LT36:Easy What is wrong with this approach?

Talking about this question:https://www.codechef.com/problems/ASTRINGHere's the solution: https://www.codechef.com/viewsolution/13078327I checked the editorial, and there's not even a mention of this...

View Article
Browsing all 40121 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>