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 Articlewrong 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 ArticleInvitation 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 ArticleSnackdown 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 ArticleCan 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 ArticleBTREEKK - 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 ArticleICD02-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 ArticleDISTNUM - Editorial
PROBLEM LINK:ContestPracticeAuthor:Misha ChorniyTester:Hiroto SekidoEditorialist:Kevin AtienzaDIFFICULTY:Super HardPREREQUISITES:Segment trees, Range trees, Self-balancing binary trees, 2D Fenwick...
View ArticleSUBSEG2 - Editorial
PROBLEM LINK:ContestPracticeAuthor:Sergey KulikTesters:Vasya Antoniuk and Kevin AtienzaTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Kevin...
View ArticleSIMPROB - 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 ArticleCDIT03 - Editorial
PROBLEM LINK:PracticeContestAuthor:Hardik Singh NegiTester:Amandeep SinghEditorialist:Akshay SharmaDIFFICULTY:EASY-MEDIUMPREREQUISITES:ArraysPROBLEM:That computer gives a token, which consists of space...
View ArticleKOL1511 - 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 ArticleNICENESS - 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 ArticleCHMKTRPS - Editorial
PROBLEM LINK:PracticeContestAuthor:Antoniuk VasylTester:Antoniuk Vasyl and Misha ChorniyEditorialist:Praveen DhinwaDIFFICULTY:challengePREREQUISITES:greedy, randomized algorithmPROBLEM:Given an array...
View ArticleMAXISUM - Editorial
PROBLEM LINK:ContestPracticeAuthor:Praveen DhinwaTester:Kevin AtienzaTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Kevin...
View ArticleFUZZYADD - Editorial
PROBLEM LINK:ContestPracticeAuthor:Kevin AtienzaTester:Istvan Nagy and Kevin AtienzaEditorialist:Kevin AtienzaPREREQUISITES:Probability, expected value, probability distribution, amortized...
View ArticleNPLQLC - Editorial
PROBLEM LINK:PracticeContestAuthor:Aniket MarlapalleTester:Harsh ShahEditorialist:Aniket MarlapalleDIFFICULTY:EASY-MEDIUMPREREQUISITES:DP, Dijkstra's AlgorithmPROBLEM:Given a row of buildings where you...
View ArticleLUCKY5 - 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 ArticleDataBread.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 ArticleLT36: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