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 ArticleRegarding 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 ArticleSprague-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 ArticleMay 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 Articlecodeforces 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 ArticleHelp 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 ArticleMerge 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 Articlehelp 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 ArticleUnderstanding 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 ArticleSEAKAM - Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Antoniuk Vasyl and Misha ChorniyEditorialist:Pushkar MishraDIFFICULTY:MediumPREREQUISITES:Bitmask DP, CombinatoricsPROBLEM:Given is a graph with...
View ArticlePoll 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 ArticleHeavy-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 ArticleTries 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 ArticleHelp 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 Articlehelp 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 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 ArticleBest 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