MGAME - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Smit mandaviaTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:EasyPREREQUISITES:Modulo operator and Basic...
View ArticleImplementation of Dijkstra's Algorithm using set data structure in C++
I was trying to implement Dijkstra using set data structure in C++. I was coding in C++14 and there seems to be something out of order in the code for it is not giving me the right answer in Codechef...
View ArticleRECTSQ, am I unable to understand?
https://www.codechef.com/problems/RECTSQMy Code:#include <stdio.h> int ans; int finder (int a, int b) { if(b > a) { a += b; b = a-b; a = a-b; } int k = a/b; ans += k; if(a-(k*b))...
View ArticleKINGCON - Editorial
PROBLEM LINK:PracticeContestAuthor:Jay PandyaTester:Hiroto SekidoEditorialist:Anton LunyovDIFFICULTY:EASYPREREQUISITES:Biconnected componentsPROBLEM:Getting rid of the story line the problem simply...
View ArticlePrevious CCDSAP exam questions
Where can I find all the previously conducted CCDSAP exam questions?
View ArticleHow to implement Pair Class in Java?
Is there any inbuilt library for pair class in java like in c++? If not how to we implement pair class in java and how can we do pair sort with respect to the first element and pair sort with respect...
View ArticleDPAIRS - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Noszály ÁronTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:EasyPREREQUISITES:Sorting and maps and a nice...
View ArticleInvitation to CodeChef January Cook-Off 2019 sponsored By ShareChat
Greetings CodeChef community!I invite you to participate in CodeChef’s January Cook-Off 2019 sponsored by ShareChat*. This short contest lets you solve 5 problems in 2.5 hours. The contest problem...
View ArticleRegarding JavaFX Library error.
when we import JavaFX library in codechef IDE.it was showing a syntax error.How can we rectify this one??
View ArticleNeed your help! YVMUN
I cant understand why i am getting wrong answer in YVNUM. I matched all testcases and corner cases that i can think of ..with the testers solution and my solution ..all are hiving same...
View ArticlePARRTY - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Mohammad NematollahiTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Medium-HardPREREQUISITES:Segment Tree and Implementation...
View ArticleIs there any formula to calculate nth fibonacci number ?
Suppose we are given, a(0)=x ; a(1)=y and the relation, a[i]=a[i-1]+a[i-2] and , we are asked to calculate a(n) , how to calculate it if n is as big as 10^9 ?Thanks ! :-)
View ArticleDoubt in MGAME explanation
In the first line of the explanation why does M have to be less than min(i,j,k,N) and how are we removing the last mod N.??
View ArticleGetCode Codechef/Codeforces/SPOJ plugin for Sublime Text 3
GetCodeThis is an ST3 plugin which:Take the URL of a problem such as https://www.codechef.com/problems/INVLIS.Parse the URL and get the problem code(In this case it is INVLIS).Create a new .cpp or .py...
View ArticleInvitation to RATED Contest(Div1+Div2) Enigma on Codechef, 10 January 2019
Hello, CodeChef community,Tired of searching for the perfect teammates in every competition? Want to prove your worth as a solo coder? Looking for the perfect platform to display your skills?This solo...
View ArticleGetCode Codechef/Codeforces/SPOJ plugin for Sublime Text 3
GetCodeThis is an ST3 plugin which:Take the URL of a problem such as https://www.codechef.com/problems/INVLIS.Parse the URL and get the problem code(In this case it is INVLIS).Create a new .cpp or .py...
View ArticleInvitation to RATED Contest(Div1+Div2) Enigma on Codechef, 10 January 2019
Hello, CodeChef community,Tired of searching for the perfect teammates in every competition? Want to prove your worth as a solo coder? Looking for the perfect platform to display your skills?This solo...
View ArticleVideo Editorial | Chef and Modulo Game | MGAME
Check out the video Editorial for MGAME from January long challenge 2019 LINK
View ArticleRuntime error
I am getting a runtime error(SIGSEGV) when I run the code on codechef's compiler. Below is my code but when I run this code on my local machine then it is giving me the right outputs. I don't know what...
View ArticleExtremely unbalanced short contests
It has been my observation that CodeChef's short contests like monthly Cook-Offs and Lunchtimes have become extremely unbalanced in difficulty level. The best example I have is of COOK101 (December...
View Article