#include - Compile Time
Is it good to use bits/stdc++.h header file in Codechef or any other competitive platforms? Because according to this link, the first answer says it increases compilation time. In general, I want to...
View ArticleChef the Brave Warrior Editorial
Problem Link-https://www.codechef.com/problems/EXOCODE5Author:https://www.codechef.com/users/vivek96DIFFICULTY:Easy-MediumPREREQUISITES-Big-Integer,Basic Java ProgrammingPROBLEM:Chef is a brave Warrior...
View ArticleWhat is offline query?
While trying to solve http://www.spoj.com/problems/DQUERY/en/, I came across an offline solution. It sorted the queries before hand and solved it. Can anyone help me understand the approach? How can...
View ArticleCODEZILLA Hidden Solutions
Why the solutions of CODEZILLA contest are not visible to us @admin? Is it a private contest or there is any BUG in that page?
View ArticleRed, Green or Yellow colors not given to the problems in contests.
Earlier Red, Green or Yellow colors were given to the problems in the contests describing whether we didn't solve them, we solved them or we solved them partially. That feature was very good but why...
View ArticleAC solution in Python for Chef the Brave Warrior.
Can someone please provide the AC solution of Chef the brave Warrior in python. I have submitted this https://www.codechef.com/viewsolution/13102468 solution but getting runtime error, don't know whats...
View ArticleRegarding MARCH17 SCHEDULE
Hello, I just submitted a relatively naive solution to the SCHEDULE problem of MARCH17. It was accepted for 100 points. I think that the test cases for this problem are weak. Could the problem setters...
View ArticleKickstart Round A
Hello everyone, There will be a youtube livestream of problem discussion of Round A (Kickstart 2017) by Akashdeep Nain. Also in store is some discussion regarding DS, Algorithms and some tips on how to...
View ArticleRatings for Institutes In Competetive Programming (CpCtrl.com)
Hello Everyone,Codechef has been a great platform for motivating and guiding potential competitive programmers on the individual basis. Ratings for all the contests: Long, Short and Lunchtime keep the...
View ArticleSSQ - Editorial
PROBLEM LINK:PracticeContestDIFFICULTY:EASY-MEDIUMPREREQUISITES:DFS, KnapsackPROBLEM:We are given a tree, and a set of cost and items associated with each node. We have to compute the optimal spending...
View ArticleGMQ - Editorial
PROBLEM LINK:PracticeContestDIFFICULTY:EASYPREREQUISITES:FactorizationPROBLEM:Given an array, we have to give the sum of factors from L to RQUICK EXPLANATION:Store the factorized sum of each element...
View ArticleKSQ - Editorial
PROBLEM LINK:PracticeContestDIFFICULTY:EASYPREREQUISITES:StringsPROBLEM:We have to check if there exists a string in the given set of strings which can be written by using only the first terms of the...
View ArticleDoes CodeChef have any Code Of Conduct?
I am new to CodeChef. I am not sure what can be considered as an improper conduct on this website. I do not want to be penalized for doing something unknowingly which is not the accepted behavior. Is...
View ArticleReal meaning of data hiding and encapsulation(Beginners+Expert)
Data hiding and encapsulation, this concepts are never explained in any text beyond the definition and people often misunderstood this concept therefore I have made a video on youTube in which I have...
View ArticleMAKETRI: Getting WA only for 2 cases. Rest AC. What's wrong with my code?
I get WA on Tasks 15 and 16 and AC on the rest. I am not able to spot the bug. Could someone help. Thanks!Headers included is bits stdc++.husing namespace std; long long min(long long a, long long b) {...
View ArticleI think I found a loop hole in MAKETRI February Long Challenge 2017...
Consider the following code, which gets AC with 100 points for the question. The code can be found here:https://www.codechef.com/viewsolution/13056645Now, consider the following test case:3 500 700 1 5...
View ArticleHow to Use Dynamic Programming in this problem?
Problem-Riya is quite famous for her problem-solving skills in VESIT. When she was facing an interview for placement, a recruiter asked her this question :Let's consider a triangle of numbers in which...
View ArticleUnethical Karma Farming?
I am finally frustrated and have to post this .I have been observing the codechef profile of this months top contributor @laxman94 for today and have found that most of his upvotes are done by his...
View ArticleDoubt regading NTT
I have a doubt about how devide polynomial in NTT.Specifically in this problem link :https://www.codechef.com/JULY16/problems/POLYEVAL/ In editorial and many solution,they are deviding polynomial into...
View ArticleALOST - Editorial
PROBLEM LINKPracticeContestContributorsAuthor:Amit PandeyTester & Editorialist:Prateek GuptaDIFFICULTY:Medium PREREQUISITES:Number theoryPROBLEM:Find any valid array of $N$ integers having $E$...
View Article