The complete list of string based algorithms?
may you please provide the complete list of string based algorithms needed to solve most of string based problems?
View Articlegetting wrong answer for kingdom unity
pls temme y i am getting wrong answer for http://www.codechef.com/problems/KINGCON my solution is http://www.codechef.com/viewsolution/4061289
View Articlehow to sort the co-ordinates (x, y) with respect to x? (c++ stl)
Suppose the list of pairs <(1, 3),(3, 2), (2, 4)> and i want to result as <(1, 3), (2, 4), (3, 2)>. How can i implement it using some STL in C++?Also sorting with respect to second element...
View ArticleStrange WA
Hello, I've got very strange WA submitting this problem. After hours spent on searching of error, I replaced gets(a) with scanf("%s", a) and got AC. a - char[100000]. I think that this error is very...
View ArticleForgot Password
My program runs in time complexity O(n) but then also TLE. Please answer what to do and please don't reply that this is an ongoing competition because I am just clarifying. Thanks
View ArticleDBOY: Getting wa
I am getting a wrong answer for the practice problem DBOY. Can anyone tell me the problem with my solution?.Please tell me test cases where my code fails.
View ArticleMaxim and Progressions
Sry, I didn't understand this: Sequence s[1],  s[2],  ...,  s[k] is called a subsequence of sequence a[1],  a[2],  ...,  a[n], if there will be such increasing sequence of indices i[1], i[2], ..., i[k]...
View ArticleDIGJUMP TLE
I tired about 70 times this question, resulting in TLE. Has anyone got an O(n^2) solution accepted ?. Just a yes or no is required.
View ArticleRRSTONE - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:SIMPLE PREREQUISITES:AD-HOC PROBLEM:K times, following operation is done on a array A1,A2...AN:...
View Articlerequest on EDITORIALS....
A small request on EDITORIALS, that is before presenting the algorithm to the problem in EDITORIAL just explain the algorithm or logic of the problem by taking a small example like what they do in...
View ArticleWHICH IS THE BEST PLACE FOR PRACTICE??..help
please tell me which competative site is best for practicing?? i m fedup practicing in codechef..i m spending days on problems to find errors and posting doubts without replies.... lot many proplems i...
View ArticleTLE in forgetpw help please!
Everything working fine, with my JAVA code for forgetpw, but its giving TLE. I have replaced Scanner with bufferstream and tokenizer, still the same problem..... Please help. I am giving up.
View ArticleRuntime Error
Hi, Can you pls check this if there is any runtime error in this program (in codechef complier c gcc 4.8.1 i am geting run time eeror). also let me know how to submit the ans in chefcode.June context...
View ArticleWhere does my solution fail?
Which case is my solution failing in? Can't seem to figure this one outhttp://www.codechef.com/viewsolution/4069045
View ArticleCollege wise ranking on contest page
Hello friends, As everyone might be knowing already about Codechef college wise ranking website present on www.okrdx.com. Here is it's Chrome plugin, now you can just see ranks without going anywhere...
View ArticleMSTICK - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESRange Minimum Query, Simple MathPROBLEMYou are given N matchsticks arranged in a straight line, with their rearends touching each other. You are...
View ArticleDifference b/w cookoff, lunchtime, and challenge
Is there any difference b/w these three competetions(on basis of level), or they are all same(just name different)
View Articlejava: NZEC runtime error in FORGETPW
i am getting a runtime error of NZEC in java all the time. Please help/suggestions.
View Article