Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

EXGCD - Editorial

Problem Link:PracticeContestDifficulty:Easy-MediumPre-requisites:Number Theory: Principle of Inclusion-Exclusion, Moebius Function, Euler's Totient Function, Modular ArithmeticProblem:You are given K...

View Article


Fibbosum (SPOJ) - why wrong answer, ran 50 test cases

WHY IS MY CODE FOR FIBBOSUM (PROBLEM) IS SHOWING WRONG ANSWER LIKE MAN I RAN IT ON 50 TEST CASES AND IT WORKS PERFECTLY FINEHERE IS MY CODECODE

View Article


TREEDGE - EDITORIAL

PROBLEM LINK:PracticeContestSetter:Aman Kumar SinghTester:Aman Kumar Singh, Taranpreet SinghEditorialist:Akash BhalotiaDIFFICULTY:MEDIUM PREREQUISITES:Dynamic Programming, Lowest Common...

View Article

Help me with the error

I am getting correct ans for my test case. But codechef compiler is giving time sigtstp error. `int T,N,moves,minW; long sum = 0; cin >> T; for(int t=0; t<T; t++) { cin >> N;...

View Article

CSUB - Editorial

PROBLEM LINK:PracticeContestAuthor:Lalit KunduTester:Shang Jingbo and Gerald AgapovEditorialist:Devendra AgarwalDIFFICULTY:Cakewalk PREREQUISITES:Adhoc PROBLEM:Given a string S consisting of only 1's...

View Article


CHEFSOC - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Dmytro BerezinTester:Encho MishinevEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Dynamic Programming, Observations...

View Article

TWOARR - Editorial

PROBLEM LINK:PracticeContestAuthor:Devanshu AgarwalTester:Michael NematollahiEditorialist:Hussain Kara FallahDIFFICULTY:Medium - HardPREREQUISITES:Persistent Data StructuresPROBLEM:Chef has recently...

View Article

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


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


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

DEPCHEF - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Stylianos KasouridisTester:Alexey Zayakin and Yash ChandnaniEditorialist:Taranpreet SinghDIFFICULTY:SimplePREREQUISITES:Arrays would...

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

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


weak 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 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


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

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


Major 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 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

WA for MARCAP

I am not able to debug why my approach is incorrect for MARCAP. I made a priority queue for pair of frequency and color of the cap. and then for each marker I check the top two element of priority...

View Article
Browsing all 39796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>