What the function 'std::ios_base::sync_with_stdio()' does?
Why do some people use std::ios_base::sync_with_stdio(false) at the beginning of their programs? What do this function do? Why when I remove the function I don't see any difference? Are there some...
View ArticleUser Account @ CodeChef
@admin I have logged in with my account at CodeChef then why i am seeing other user name in CodeChef Discuss?
View ArticleDifferent type of Bug
Here is a new bug I found today about 2-3 times.There is a random username everytime I open the top contibutor's list on the top left side instead of showing up my name. Even the standing page is...
View ArticleHelp needed for INOI 2017.
I am in class 8 and I gave ZIO this year and I am getting a score 55-60 so I'll probably qualify. But I want to ask that how to prepare for INOI. I currently know Python, Javascript, HTML and CSS and...
View ArticleCHEFARRP - Editorial
PROBLEM LINK:PracticeContestAuthor:Misha ChorniyTester:Jingbo ShangEditorialist:Pushkar MishraDIFFICULTY:SimplePREREQUISITES:NonePROBLEM:Given an array, we have to report the number of subarrays such...
View ArticleVirtual Contest on Codechef
There was a discussion on codechef for virtual contest.https://discuss.codechef.com/questions/39050/virtual-contestAdmin said that they will be adding the feature soon and this discussion was 2 years...
View ArticleTim Sort vs Merge Sort
Which is better Tim sort or Merge sort? And why is Tim Sort not so common? Python uses it.Tim sort- Best case - O(n) Average case - O(n log n) Worst case - O(n log n)Merge sort- Best case - O(n log n)...
View ArticleWriting Interactors and Checkers on Codechef
I'm having trouble writing interactors on codechef platform. Can anyone who has written an interactor for a codechef problem show a sample of an interactor? Thanks.UPD : I'm also facing problems on...
View ArticleTTENIS - Editorial
PROBLEM LINK:ContestPracticeAuthor:Istvan NagyTester:Kevin Atienza and Gedi ZhengEditorialist:Kevin AtienzaPREREQUISITES:Ad hoc, string processingPROBLEM:In table tennis, a game is won by the player...
View ArticleData Structure Tutorial : Stack
Overview: Stack is data structure where elements is inserted at the top of the list and any element is deleted from the top of list. So it is called LIFO data structure.Insert operation on a stack is...
View ArticleACBALL - Editorial
PROBLEM LINKPracticeContestContributorsAuthor:Amit PandeyTester & Editorialist:Prateek GuptaDIFFICULTY:Simple PREREQUISITES:NonePROBLEM:Given two strings $X$ and $Y$ of length $N$, form another...
View ArticleChallenge problem rejudge
Although the challenge problems have been rejudged.. The new scores of the participants have not been updated in the the rank list and therefore, we dont know our actual rank. I just wanted to know my...
View ArticleCompetive programming language: C++ vs Java
Which is the better programming language for competitive programming : C++ vs Java?
View ArticleData Structure Tutorial : Queue
Overview: Queue is a data structure where elements is inserted at the front of the list and any element is deleted from the rear of list. So it is called FIFO(First in First out) data structure. Insert...
View ArticleProgramming Contest
Hi everyone, Competitive Programming present you their first programming contest Go-pro.A programming contest series where you will be able to solve some interesting problems.Please do participate and...
View ArticlePrize in November Lunchtime 2016?
Are there any prize given in November Lunchtime 2016(to the top scorer)?
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 ArticleHow fair is the Top Contributors list?
Codechef discuss forum is a very nice community. I have also answered some basic questions on it. But, since past few days I see some people deliberately upvoting all the old answers of their friends...
View ArticleTest Cases for Contest Problems can be revealed after the contest!
There are many people whose solution fails for few test cases and hence get partially correct answers in the contest.For Ex: Many people have got 85 points in LIGHTHSE and 60 points in REBXOR in the...
View Article