editorials not updated completely
when will the editorials of the toughest 3 problems of NOV-13 challlenge be updated ?? Also when will the ratings be updated...when it gets delayed soo much all the interest goes off :(
View Articlesegment tree implimentation
void seg_ment(int node,int b,int e){ if(b==e){ segment_tree[node]=A[b]; } else{ int left=2*node,right=2*node+1; seg_ment(left,b,(b+e)/2); seg_ment(right,(b+e)/2 +1,e); int...
View ArticleHelp with segment trees - query processing
Hello all,I am now attempting to solve the problem FLIPCOIN in the practice section, medium difficulty level.I am aware that a naive solution gets TLE... However, I also know that some sort of segment...
View Articleneed guidance in sums in triangle problem
hi i have been working on sums in triangle problem http://www.codechef.com/problems/SUMTRIAN i don't want to see the solutions i just want to know the basic approach behind it so that i can solve it...
View ArticleNext Magic Number
The given problem is simple but even though couldn't solve it.Can someone help me with following problem...'4' and '7' as Magic numbers. The numbers containing only magic numbers are also magical....
View ArticleLucky Palindrome of November LunchTime
I am doing Lucky Palindrome question of November Lunch. http://www.codechef.com/LTIME06/problems/PALINDRI passed it for two sub task but then getting TLE. Editorial says we should use treap for...
View ArticleSUPERPLN - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONAt each step Dunno is in some city at some time. If Roly-Poly lives in this city and the start time of the birthday party is not less than the time...
View ArticleLongest increasing subsequence
Hey I have tried to implement a dp solution. There's a little mistake which I can't figure out. Care to help me? #include <iostream> #include<algorithm> using namespace std; int main() { //...
View ArticleMONOPLOY - Editorial
PROBLEM LINK:PracticeContestAuthor:Utkarsh LathTester:Tom ChenEditorialist:Ajay K. VermaDIFFICULTY:Medium PREREQUISITES:Heavy light decomposition, Binary index tree, Segment tree, Caterpillar...
View Articlemore problems of ZIO style
Does anyone know about a source of problems of ZIO style?? I mean some more problems like the ones,that come in the paper pen test
View ArticleDistribute Candies
I can't submit my code because it says 'wrong answer'.I have myself tried many test cases and my code didn't give wrong answer for even one of them.I would like to know that whether there really is any...
View ArticleAccess denied on problems page (Dec 13)
@admin I am not able to access some problems in DEC 13 challenge. Please fix this issue.
View ArticleDifference between %I64d %lld
Many of my submissions resulted in WA when i used %I64d rather got AC when i used cin for scanning them , anyone tell me the difference . Even many solutions got TLE when i used cin , got AC by...
View Articleguidance needed
I have solved few practice problems..I m very glad as I m feeling I m improving....still I need a better guidance how to use this platform much better way so that I can be better prgrammer.....thanks
View ArticleRectangular Queries problem was rejudged?
Was the Rectangular Queries problem from December long contest rejudged? My solution got AC at start and it changed to TLE afterwards... Now when I submit the same solution it still gets TLE.
View ArticleNew Rule in LONG contest
The following rules:The score that you will see during the contest will only be partial (obtained on 20% of the test data).The submissions will be re-judged at the end of the contest to get full score...
View ArticleAmbiguous Permutations - explanation
http://garakchy.blogspot.com/2013/12/my-c-solution-to-codechef-permut2.htmlsome explanation: 1 - use 1-based array 2 - think of inverse permutation as bijection function 3 - create inverse(Y)...
View ArticleAmbiguous Permutations - Explain the statement
I have been trying to understand the meaning of the problem statement of Ambiguous Permutations for some time. But I still haven't been able to figure out what are the various types of permutations...
View ArticleAdd a Row After Setting DataSource to Datagridview
I had lost of question related to datasource binding of datagrid I had a DatagridView to which i am setting DataSource from a listList<Myclass> li = new List<MyClass>(); MyClass O = new...
View Articlebug on december challange
when i am on the december challange problems page:site said: "You are not authorized to access this page." but i am authorized? what is problem?
View Article