Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 40121 articles
Browse latest View live
↧

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 Article


Runtime 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 Article


Getting 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 Article

Now on commitment phase.

Competitive programming proposal on StackExchangeit is now closed by Shog9. lets send our "gratitude" messages to him: shog@shog9.com

View Article

NZEC 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 Article


Making 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 Article

Why 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 Article

HDELIVER - 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 Article


Image may be NSFW.
Clik here to view.

A 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 Article


REIGN - 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 Article

Can not find the editorial for REIGN?

http://www.codechef.com/problems/REIGN editorial of this problem showing not found....y is it so??

View Article

help for myself

guys i need program for predictive parser in c plz help

View Article

Need 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 Article


Google Code Jam 2014

Registration is openHere's the link link text

View Article

BEX - 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 Article


Dynamic 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 Article

Dynamic 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 Article


The 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 Article

regarding the street problem of march 14 contest

plz give another set of input with its output

View Article

best 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
Browsing all 40121 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>