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

JARVIS - Editorial

PROBLEM LINK:PracticeContestAuthor:Varun SinghDIFFICULTY:SIMPLEPREREQUISITES:Ad-HocPROBLEM:Given a pattern, determine whether or not, there is a different PIN that has the same pattern.EXPLANATION:If...

View Article


BATMAN - Editorial

PROBLEM LINK:PracticeContestAuthor:Varun SinghDIFFICULTY:EASYPREREQUISITES:Graph, Graph-Traversal, DFSPROBLEM:Given a binary matrix of size N x M, determine the number of cells in the largest region of...

View Article


SUPERMAN - Editorial

PROBLEM LINK:PracticeContestAuthor:Varun SinghDIFFICULTY:MEDIUMPREREQUISITES:Graph, BFSPROBLEM:Given a list of n songs, generate a playlist of 9 songs that satisfied the given...

View Article

Which one is faster, sort() or qsort()?

People who code in C use the built-in QSORT, while C++ users prefer the SORT function. Looking through the documentation, I see that both have an average time complexity of nlog(n). But in GeekForGeeks...

View Article

CHEFDIV - Editorial

PROBLEM LINKPracticeContestDIFFICULTYeasyPREREQUISITESnumber theory, prime factorization, segmented sievePROBLEMA divisor tree with value at root $N$ is defined as follows. For each node of the tree,...

View Article


Unofficial Editorial of the first 6 questions of April 2017

Hello guys,As many of you suggested me to write my editorials on a blog rather than Facebook page. I would like to take the opportunity to welcome you to my blog. I have added the April editorials, I...

View Article

Which one is faster, sort() or qsort()?

People who code in C use the built-in QSORT, while C++ users prefer the SORT function. Looking through the documentation, I see that both have an average time complexity of nlog(n). But in GeekForGeeks...

View Article

CHEFDIV - Editorial

PROBLEM LINKPracticeContestDIFFICULTYeasyPREREQUISITESnumber theory, prime factorization, segmented sievePROBLEMA divisor tree with value at root $N$ is defined as follows. For each node of the tree,...

View Article


Unofficial Editorial of the first 6 questions of April 2017

Hello guys,As many of you suggested me to write my editorials on a blog rather than Facebook page. I would like to take the opportunity to welcome you to my blog. I have added the April editorials, I...

View Article


Problem with ICPC16B Beautiful Arrays

The problem goes as follows : "An array a is called beautiful if for every pair of numbers ai, aj, (i ≠ j), there exists an ak such that ak = ai * aj. Note that k can be equal to i or j too." So for...

View Article

Codechef Submissions very slow

Is there something wrong with the codechef servers?I'm attempting the May 17 questions and submission is taking around 3-5 minutes. I'm also receive "Internal Error" often. My internet connection is...

View Article

Why isn't the judge accepting new submissions for May Challenge '17?

Its been more than 75 minutes since the last submission. The judge is hung up with submissions before 8:34 PM IST. Most of them are still queued up. On top of that, judge isn't accepting new...

View Article

CodeChef Attendance

Hey There Guys,Hope You all are having a good time. I want to present you another tool which can show you your attendance in CodeChef.This is especially useful for those who want to check their...

View Article


Multiple duplicate submissions during black out time

During the recent blackout time (when codechef was not delaying/ not accepting solutions). My same solution got submitted 5 times even though I had clicked submit only once.Has anyone else got this...

View Article

MAY17 Challenge: MAXMEDIAN problem Clarification

https://www.codechef.com/MAY17/problems/MXMEDIANCase #2: If we permute array A in this way: 1 4 5 6 2 3So array B: 4 6 3So median becomes 6.What am I missing?

View Article


How many top contributors receive codechef laddus each month?

How many top contributors receive codechef laddus each month and how long does it take for laddus to get credited?

View Article

Clarification of test cases of CHEFROUT (MAY17) .

The test cases aren't clear. Say in Case of SC. Why is the answer no. WHat if the chef followed following routine CESCES and bot missed the first cooking and eating log and the last eating and sleeping...

View Article


how to share code of problem from codechef Ide (any IDE) as a link while...

Please guys tell me how to share code as link while asking any problem on Codechef discuss... i don't want to copy my code here.. i just want to share a link of my code... Help me how to do it in easy...

View Article

Topcoder- Bad Neighbour dp based problem

I was solving THIS PROBLEM on top coder, it seemed very easy initially but when I solved it I realized it is not. Help me solving this problem.

View Article

Rejudge - problem CHEFCODE (MAY17)

when will all submissions for the Problem CHEFCODE rejudge finish? and where will i see my rejudged-result ?. I sure that my solution gets 30points or more ,but i always get WA. thanks

View Article
Browsing all 39796 articles
Browse latest View live


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