Longest 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 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 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 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 Articletime limit
in the successful submission list there are people whose time of execution is more than that of what is given in the question can u plz tell me how it is possible...??
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 ArticleSTL sort algorithm
The general syntax of the STL sort algorithm issort(myvector.begin(),myvector.end()); //used for sorting an array of integers in the ascending orderThe code for sorting an array of integers in the...
View ArticleTLE problem
Can anyone pls tell which is the best way to avoid tle in cpp...i am tired of searching tags...thanks
View ArticleRECTQUER - DEC LONG
Getting TLE again and again. Even tried a different way other than BRUTE FORCE. Any hints?
View ArticleTIPS for Code Submission
HiI was looking for tips / guidelines for code submission like class always should name solution or any such thing? can you point me to that page.thanks
View Articlehow to read large inputs in c
i mean if a problem needs to scan 10^6 integer values.how am i supposed to store them ?if i declare array of size 10^6 i'm getting error.please help me with this.thanks in advance
View Article