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

May challenge 2014 , Sereja and Game problem

Can anybody tell me what is the meaning of optimally in this problem ?

View Article


Algorithms and data structures needs to be studied to become good in...

I'm naive and what should I do to gather knowledge of different algorithms and data structures which are necessary to become good in programming contest!

View Article


Little Elephant and Balloons

Hi guys i have been working on the LEBALONS problem it has two ambiguitiesIts not mentioned if there are balloons with same color what are the possible edge condiions ?Like 0 minimum color ..

View Article

Next Pallindrome

Can, anybody help me this code of next pallindrome given below. Problem link:http://www.codechef.com/problems/PALINIt works for the test cases but is not accepted by the...

View Article

Segmentation fault(core dumped)PZZhelp

include<stdio.h>include<conio.h>int main() { int i,j,k,T,N[10],S[10]; scanf("%d",&T); for(i=0;i<T;i++) { scanf("%d",&N[i]); } for(j=0;j<T;j++) { S[i]=(N[i]*(N[i]+1))/2; }...

View Article


Segmentation Fault

#include<stdio.h> include<conio.h>int main() { int i,j,k,T; long int N[1000000],S[1000000]; scanf("%d",&T); for(i=0;i<T;i++) { scanf("\n%d",&N[i]); } for(j=0;j<T;j++) {...

View Article

Declaring a array

How can i declare a int array of 1000000 elements.I know i can use static however using static would mean that the value of array would remain same through every loop therefore leading to wrong...

View Article

Information regarding time limit exceeded

Suppose I have a program which after submission shows time limit exceeded. Does this mean that it has been able to clear all the test cases but could not do so within the required timeORthat before it...

View Article


Wrong Answer

Hi, I've tried the code for "stone" problem but it says wrong answer but on my machine It works fine.Why your machine says 'wrong answer'.Please help meThanks

View Article


Contest problem no submission

I found that contest that have been taken place in past now do not have "submit" button . How can one practice on these contest problems now ??

View Article

LEBALONS doubt

HelloMaybe it's too obvious or something everyone would have learned but I have been reading the LEBALONS problem over and over again but I am unable to comprehend this: What does expected cost of gift...

View Article

RRStone checkpoint

I have gotten a WA for a couple of times now. Suppose you have an input like 5 2 and you input 2 3 7 8 omitting the last number. What am I suppose to get with this? Is the last absent number to be...

View Article

WA in CHEFBM always

first I was getting the segmentation error .. now when I solved it I always get a wrong answer what to do in the case of n=1,m=1

View Article


RRSTONE Checkpoint

I have gotten a WA for a couple of times now. Suppose you have an input like 5 2 and you input 2 3 7 8 omitting the last number. What am I suppose to get with this? Is the last absent number to be...

View Article

The Lead Game....HELP PLEASE

Can somebody please look at my code its submission. The program works just fine for me. The out put with any number entered is right and in the event of a tie the player who had the highest score first...

View Article


Can we search all the persons in codechef who are from the same colleage?

can i search for all the people who particpate in codechef contests form a particular colleage? We can check only if know their handle.but is there any other way to check? In topcoder an CF we can do...

View Article

OJUMPS - WA

HI I AM NEW TO CODE CHEF . AND I TRIED TO UPLOAD MY PROGRAM IN JAVA ...ACTUALLY I WAS USING JDK 8 (LATEST VERSION)BUT NOW IT SAYS WRONG ANSWER , WHAT COULD BE THE REASON ?? PROGRAM IS WORKING FINE ON...

View Article


Stone May Long

My code is running perfect on my computer could any one suggest any common mistake i may be doing

View Article

Compiler judged WA

Code deleted!!

View Article

Java NZEC runtime error

I wrote a program for jump chef problem. It worked perfectly in my local machine, it didnt throw ny kind of exception and errors but when I tried to submit it online in codechef it returned NZEC...

View Article
Browsing all 39796 articles
Browse latest View live


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