Why both code having same logic don't work? [SUBPRNJL]
I got WA when used m = ceil((float(k)/float(r-l+1)); but got AC when usedm = k/(r-l+1) + k%(r-l+1)==0?0:1; Can somebody tell me the difference between the two?My submission using...
View ArticleWhy is my Codechef Snackdown T-Shirt at wrong location?
My location is Ha Noi, Vietnam. But why according to www.indiapost.gov.in is at USA. Please explain, i asked my friends and they said that their T-Shirt is already in Ha Noi, Viet Nam. According to...
View ArticleGetting started here, questions about strategy, etiquitte, etc.
Hi guys. I've just started here, I have a few questions about how I approach this place. Firstly, let me just say that wow - some of the problems here are pretty difficult, even for easy!Alright, so...
View ArticleTACHSTCK - Editorial
Problem Link:PracticeContestDifficulty:CakewalkPre-requisites:Ad HocProblem:Given N sticks of lengths L[1], L[2], ... L[N] and a positive integer D. Two sticks can be paired if the difference of their...
View ArticleCOMPILER - Editorial
PROBLEM LINK:PracticeContestAuthor:Bruno OliveiraTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:AD-HOC PROBLEM:Given a bracket sequence, print the length of largest prefix...
View ArticleDEPCHEF - EDITORIAL
PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Stylianos KasouridisTester:Alexey Zayakin and Yash ChandnaniEditorialist:Taranpreet SinghDIFFICULTY:SimplePREREQUISITES:Arrays would...
View ArticleMANYCHEF - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESGreedyPROBLEMWe are given a string S. Each character of S is either a question mark ('?') or an uppercase letter ('A'-'Z'). Replace each...
View ArticleLaddus Not Credited
@admin, I tried emailing at winners@codechef.com but did not get any response. Please look into this. I have completed one-year attendance from Jan Long to Dec Lunchtime.
View Articleweak test cases in march cook off MARCAPS
After looking at many solutions accepted in MARCAPS in march cook off i noticed that many of them fail simple test cases like:191 1 1 2 2 2 5 6 7Kindly look into the matter.
View ArticleSPOJ - HISTOGRA - Largest Rectangle in a Histogram help needed
Since I couldn't solve the problem myself, I read up the concept and codes and managed to get it submitted via a Divide and Conquer (divide from middle) approach and a stack based O(n) solution. I also...
View ArticleRegarding Certificate for Snackdown 2k19
Our team cleared Online Qualifiers round of Snackdown 2k19 this year, but we got the certificate for participation in online 1B round. Please look upon this issue.
View ArticleRegarding unbalanced problemset COOK104B
Hello,I have to admit the balance of the problemset of div2 of March cookoff was very terrible, the two problems that I intended to be the easiest two turned out to be difficult to implement.I have to...
View ArticleMajor case of Plagiarism in March-Cookoff-B
These 3 people belong from the same college and have been involved in plagiarism since a past few months. The first problem of cookoff,all three have the exact same code .Link to the submission(s):-1)...
View ArticleHelp and donate for a friend
Hello all! I come to all of you with a request for a good colleague and friend of mine. His wife is currently fighting against cancer and they need help to raise enough money to attempt some new...
View ArticlePLANEDIV - Editorial
PROBLEM LINK:ContestPracticeAuthor:Maksym BevzaTester:Sergey KulikEditorialist:Kevin AtienzaPREREQUISITES:Cartesian coordinates, parallel lines, sets, GCD, Euclidean algorithm, sortingPROBLEM:A set of...
View ArticleCOOK104B testCase
hi i am not able to understand the test case of third question march cook off 2019. Can anybody tell me how we get 7 as the answer.Thankyou.question link -...
View ArticleFED UP with this slow and unresponsive discuss now !!
People are just bearing with this slow discuss which takes a minute to load a single page !! Don't you think new discuss should be used now as it's chef's birthday this month ? People keep saying that...
View ArticleCOOK104B - UCL problem NZEC error
Hi,I have tried the UCL problem in COOK104B and I am getting an NZEC error. The testcases I tried seem to work perfectly. Please help me to figure out where I am going wrong. My codeThanks Aadarsh..
View ArticleChef's Birthday- Editorials.
Chef's 10th BirthdayHey Cheffers, :DThere is always a blast at Chef's Birthday, as according to the sacred traditions of Codechef. This time, given the pleasure of moderating and mentoring this...
View Articlewhere are the March Cook Off editorials ?
guys, I'm clicking on the editorial link on the contest page but the page won't just open. Am I the only one who is facing this problem?
View ArticleNBONACCI Editorial
PROBLEM LINK:PracticeContestAuthor:Erfan alimohammadiTester & Editorialist:Hussain Kara FallahDIFFICULTY:EasyPREREQUISITES:NonePROBLEM:An N-bonacci sequence is an infinite sequence $F_1,F_2,…$ such...
View ArticleUCL Editorial
PROBLEM LINK:PracticeContestAuthor:Erfan alimohammadiTester & Editorialist:Hussain Kara FallahDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:Given the results of group stage matches in a champions...
View ArticleCHFAR - EDITORIAL
PROBLEM LINK:PracticeContestSetter:Misha ChorniyTester:Hasan JaddouhEditorialist:Taranpreet SinghDIFFICULTY:SimplePREREQUISITES:Basic Math.PROBLEM:Given a sequence $A$ of length $N$, by changing at...
View ArticleChange to Frontend Codechef
Hi,This is not a question. Just a suggestion for the landing page of Codechef. I've noticed this for a long time and it always annoys me. Figured might as well just put it out there.As you can see in...
View ArticleMARCAPS Editorial
PROBLEM LINK:PracticeContestAuthor:Erfan alimohammadiTester & Editorialist:Hussain Kara FallahDIFFICULTY:EasyPREREQUISITES:NonePROBLEM:Chef has $N$ markers. There is a cap on each marker. For each...
View Articlebitstamp support number
Due to the unfeeling behavior of your Bitstamp account, you are finding difficulty in transfer funds from your account? Then just take Bitstamp support via expert and you can talk about problems in a...
View ArticleDELISH - Editorial
Problem Link:PracticeContestDifficulty:SimplePre-requisites:Dynamic ProgrammingProblem:Given an array D[1...N], find max(abs((D[i] + ... + D[j]) - (D[k] + ... D[l])) : 1<= i <= j < k <= l...
View ArticleJABO - Editorial
PROBLEM LINKPracticeContestDIFFICULTYMEDIUMPREREQUISITESDisjoint Sets, Simple MathPROBLEMYou are given a Jam Board with R rows and C columns. A row of the jambaord contains a group of 5 points arranged...
View ArticleWOWSUBSTR, Want solution and how to approah this problem ?
this is spoj problem please give a right a best approach for this problem and solution too. Problem link WOWSUBSTR
View Article