MCO16201 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:CAKEWALKPREREQUISITES:Brute ForcePROBLEM:You want to place a rook on a chessboard so that the sum of the values written on the squares it...
View ArticleMCO16202 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:EASYPREREQUISITES:Dynamic ProgrammingPROBLEM:Given a binary string with some characters replaced with question marks. Find the number of ways...
View ArticleMCO16203 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:EASYPREREQUISITES:+1, -1 TrickPROBLEM:You have a $n \times n$ binary grid. There are $q$ operations, which involves flipping all the bits in a...
View ArticleMCO16204 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:EASYPREREQUISITES:Dynamic ProgrammingPROBLEM:There're 2 stacks of coins. Flippy and Fluffy takes coins on top of the stack alternately. What is...
View ArticleMCO16205 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:EASYPREREQUISITES:Dijkstra's Algorithm, Graph TheoryPROBLEM:There's a weighted graph with $n$ vertices and $m$ edges. Additionally, each edge...
View ArticleMCO16206 - Editorial
PROBLEM LINK:PracticeContestAuthor:Zi Song YeohDIFFICULTY:EASY-MEDIUMPREREQUISITES:CYCLE-FINDING, BINARY SEARCH, SPARSE TABLEPROBLEM:There is a country with $n$ cities arranged in a circle. The length...
View ArticleLCOLLIS - Editorial
PROBLEM LINK:PracticeContestAuthor:Pavel SheftelevichTester:Karan AggarwalEditorialist:Praveen DhinwaDIFFICULTY:CakewalkPREREQUISITES:basic implementationPROBLEM:There are $n$ boys and $m$ girls in a...
View ArticleNeed editorial for CHEFINS COOK77
Can anyone suggest me the approach for solving the above problem.
View ArticleProgramming tutorials/guide blog for beginners
Hi,I've written few blog entries to provide some useful resources and problems to solve to help people get comfortable with the concepts. Check out them here : Dynamic ProgrammingSegment TreesSieves —...
View ArticleMails from discuss.codechef going in spam!
I was suprised that I was not getting mails from discuss.codechef for quite a while so I checked my spam folder and .... @admin please see
View ArticleCodeChef as ICO Server
Can CodeChef help us conducting the ICO as TCS iON is doing very bad since 2 years.
View ArticleTLG - Editorial
PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:EASYPREREQUISITES:Basic looping,ArraysPROBLEM:At the end of each round the leader and her current lead are calculated. Once all...
View ArticleIs IARCS Down?
Hey I am trying accessing IARCS Study Material & their Official website but i am getting an error: "dial tcp: lookup www.iarcs.org.in: getaddrinfow: No such host is known"do any one of you know why...
View ArticleHow to submit java code?
I am new to codechef. And i am doing chef and stone problem. I have written the code. When i submit it, it shows run time error. My code is right, i have run it on various test cases. I think i am...
View Articlespoj TREEORD - Tree _order
How can I solve http://www.spoj.com/problems/TREEORD/ problem please provide some efficient algorithm to solve it
View ArticleDoubt in SPOJ-Dquery
I tried to solve this spoj problem using MO's algorithm and this is my implementation for it. I am getting NZEC error and couldn't find the bug, help me out with this.I referred this tutorial for MO's...
View ArticleHow to use this forum?
Is there brief description how is someone supposed to use this forum?I know the basics - someone asks question, for example with problem solution and the community helps to find the answer. 0k, that's...
View ArticleCodeForces down?
Is codeforces down? or is it just for me? Does anyone know what's happening?Edit: The site now says:Temporarily, because of hardware issues Codeforces and Polygon are not available. We hope to fix it...
View ArticleSPOJ - GSS1 - Can you answer these queries I
http://www.spoj.com/problems/GSS1/Since this problem is set for segment trees, Kadane's algorithm failed. So I looked up segment trees and got the gist of it. I followed this for learning the...
View Article