Quantcast
Channel: CodeChef Discuss - latest questions
Browsing index pages (40121 articles)

WOWSUBSTR, 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


JABO - 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 Article


DELISH - 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 Article

UCL Editorial

PROBLEM LINK:PracticeContestAuthor:Erfan alimohammadiTester & Editorialist:Hussain Kara FallahDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:Given the results of group stage matches in a champions...

View Article

NBONACCI 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 Article


Chef'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 Article

COOK104B - 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 Article

Query regarding headers in ICO

Can we use the header "bits/stdc++.h" for ICO / IOI ?

View Article


FED 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 Article


Major case of Plagiarism in March-Cookoff-B

These 3 people belong to the same college and have been involved in plagiarism since a past few months. For the first problem of cookoff,all three have the exact same code .Link to the...

View Article

COOK104B 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 Article

PLANEDIV - Editorial

PROBLEM LINK:ContestPracticeAuthor:Maksym BevzaTester:Sergey KulikEditorialist:Kevin AtienzaPREREQUISITES:Cartesian coordinates, parallel lines, sets, GCD, Euclidean algorithm, sortingPROBLEM:A set of...

View Article

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 Article


Laddus 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 Article

Help 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 Article


Regarding 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 Article

Regarding 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 Article


SPOJ - 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 Article

Why 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 Article

MANYCHEF - 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 Article
Browsing index pages (40121 articles)


Latest Images