How to re-submit answer after getting failure once.
I am beginner, and i have submitted code for one question. but it's wrong, now i wants to submit another code for same. so how i can do that .
View ArticleRuntime Error(SIGSEGV)
Every time i try to submit the solution for any problem i am getting the same error. It says Runtime Error(SIGSEGV) The codes are running perfectly on any compiler on my system. Kindly help me out.
View ArticleGetting wrong answer in little chef and numbers
my logic is correct but still I am getting wrong answer...and what is the meaning of trailing spaces......how does it affect my program....give me answer....
View ArticleNow on commitment phase.
Competitive programming proposal on StackExchangeit is now closed by Shog9. lets send our "gratitude" messages to him: shog@shog9.com
View ArticleNZEC Error in Java Code problem DRGHTS
I had written the code of DRGHTS in Java. But I couldn't get why I am getting NZEC error in the solution. The Question code is http://www.codechef.com/FEB14/problems/DRGHTSWhen I re-wrote the same code...
View ArticleMaking a program parallel in Java - HELP
Hello @all,I've only learnt a bit about parallelization of programs, but, I'm now facing what seems to be an embarassingly parallel situation.I simply need to compute and list ALL twin primes below N...
View ArticleWhy am i getting wrong answer?
I have been trying the problem WALK and codechef is telling that iam submitting a wrong answer. Can you correct my code.#include<stdio.h> #include<stdlib.h> int main() { int i,N,T,max,test;...
View ArticleHDELIVER - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONRestating the problem in terms of Graph Theory, we're given a set of edges, and we've to identify if two given query points are connected via these...
View ArticleA tutorial on Suffix Arrays
Hello @all,This text will focus on the construction of Suffix Arrays, it will aim to explain what they are and what they are used for and hopefully some examples will be provided (it will be mainly...
View ArticleREIGN - Editorial
PROBLEM LINK:link:ContestAuthor: @kostya_byTester: @white_kingDIFFICULTY:EasyPROBLEM:This can be solved using dynamic programming. Call best_forward[i] to be the maximum prosperity of a sequence that...
View ArticleCan not find the editorial for REIGN?
http://www.codechef.com/problems/REIGN editorial of this problem showing not found....y is it so??
View ArticleNeed explanation for CLRS Solution 3-3.
I am currently studying "Order of growth" from 3rd edition. I was not able to understand the solution for the problem 3-3(b) problem : Give an example of a single non-negative function f(n) such that...
View ArticleBEX - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYPREREQUISITESStack Data StructurePROBLEMHarry has a lot of books messed on the floor. He keeps a pile of books. At any time, he can put a book that has some...
View ArticleDynamic programming problems with bitmasking
Hi all,Please suggest some DP problems that involve bitmasking in the increasing order of difficulty level on any online judge.Thanks
View ArticleDynamic Programming with bitmasking
I am unable to solve the problem http://www.spoj.com/problems/COURIER/ please help me how to solve this problem . I have seen a solution but not able to get the logic. Please help me out :(
View ArticleThe output is right for walk in march 2014 contest but the online compiler of...
please somebody help me .This is my first code submission to codechef.
View Articleregarding the street problem of march 14 contest
plz give another set of input with its output
View Articlebest way to sort an array
pleas can anyone tell me best way to sort an array.....also explain its algorithm and its working. best way means least complexity.
View Article