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

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 Article


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


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

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

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


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

LCOLLIS - Editorial

PROBLEM LINK:PracticeContestAuthor:Pavel SheftelevichTester:Karan AggarwalEditorialist:Praveen DhinwaDIFFICULTY:CakewalkPREREQUISITES:basic implementationPROBLEM:There are $n$ boys and $m$ girls in a...

View Article

Need editorial for CHEFINS COOK77

Can anyone suggest me the approach for solving the above problem.

View Article


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


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

CodeChef as ICO Server

Can CodeChef help us conducting the ICO as TCS iON is doing very bad since 2 years.

View Article

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

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


NUMPY support

is numpy supported by codechef server????

View Article

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


spoj TREEORD - Tree _order

How can I solve http://www.spoj.com/problems/TREEORD/ problem please provide some efficient algorithm to solve it

View Article

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


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

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

SPOJ - 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
Browsing all 39796 articles
Browse latest View live


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