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

Image may be NSFW.
Clik here to view.

Codechef Rating Predictor

Hello everyone!Codechef Rating PredictorThe delay in previous month rating changes + inspiration from CF Predictor and for the practice of a web-application, i tried to write a script that can predict...

View Article


Regarding C++ stl- set.

Hey guys, i need some help/clarification on sets. (I searched for this but couldnt find anything relevant. Hence i would be grateful if you guys could help ^_^ )Its with reference to problem XORSUB 's...

View Article


Image may be NSFW.
Clik here to view.

Sprague-Grundy Theorem Problems Tutorial

Encountered this rather interesting problem on Combinatorial Game Theory, no threads were present on this theorem so I thought I'll create one. INTRODUCTIONWhat is Sprague-Grundy Theorem? Suppose there...

View Article

May LOC: How do I solve SimpleOne problem?

Can someone provide me a decent editorial of simpleOne problem of this "May LoC Competitive Programming Marathon"?

View Article

codeforces educational round question doubt

this is the question and here is my solution http://codeforces.com/contest/620/submission/15504012 after coreecting the solution i got this http://ideone.com/RIqSws but it is showing it wrong . help me...

View Article


UNIONSET code review June Long, How this can be optimized ?

link text

View Article

Help me with SUMQ

Here's my code for the problem SUMQ from June challenge. I am getting wrong answer even with easy constraints. Though I used simplest approach but I think it is correct indeed. I don't know what's...

View Article

Merge Sort Tree - Tutorial

Prerequisites : Segment TreesTarget Problem : Given an array of N elements and you have to answer Q queries of the form L R K , To Count the numbers smaller than K in range L to R.Key Idea : The key...

View Article


help needed - ZCO13003 (CHEWING)

question link : https://www.codechef.com/ZCOPRAC/problems/ZCO13003 my code link : https://www.codechef.com/viewsolution/14255384 getting WA...pls help me out !!

View Article


Understanding performance of map and priority queue in stl

I was trying out the chef and reversing question of August Chanllenge. During the contest, I tried out this . My logic goes the same way as finding the path in Dijkstra's, the only difference is I am...

View Article

SEAKAM - Editorial

PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Antoniuk Vasyl and Misha ChorniyEditorialist:Pushkar MishraDIFFICULTY:MediumPREREQUISITES:Bitmask DP, CombinatoricsPROBLEM:Given is a graph with...

View Article

Poll for JUNE17 Video Editorials

Hi everyone! This month's long challenge editorials are not out yet. Hence, I would like to invite you all to vote for 2 problems, for which I will be making video...

View Article

Good websites for number theory.

What are the best sources for learning number theory?

View Article


Heavy-Light Decomposition

Can someone provide a good tutorial(well explained) or provide some link on how to exactly implement H-L Decomposition. I have searched a lot and been through almost all suggested websites. The main...

View Article

Tries Implementation in C++

Hi team, I am looking for the simple implementation of Tries Data Structure in C++ with some descriptions of code which will make it easier to understand.I have gone through several codes available on...

View Article


Help in Templeland

I just joined CodeChef and trying to solve Temple Land problem. The link to the problem is : https://www.codechef.com/problems/TEMPLELA. I've written following code for the problem : using System;...

View Article

Why do I get an NZEC?

Why m i getting NZEC (Non Zero Exit Code) for my program?

View Article


help newbie programmer......

i am new to competitive programming ....i am unable to solve more than one problem in the june challenge... how should i improve my programming skills ... any book or website links to know the...

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

Best Editor to write C++ program?

Which is the best editor for writing programs in c++.Currently i use DevC++. i want editor in which i could set a predefined template so that i dont have to type macros and include libraries again and...

View Article
Browsing all 39796 articles
Browse latest View live


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