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

NZEC error in CHEFZOT

The program is running correctly in my pc, but it gives an NZEC error here. Problem:CHEFZOT http://www.codechef.com/JUNE14/problems/CHEFZOT solution: http://www.codechef.com/viewsolution/4002779

View Article


GUESS and FORGETPW....!!!!

working in my pc, but here WA...:( Applied all the boundary conditions.

View Article


Getting Wrong answer in Problem CHEFZOT

I think the program is running well in my pc, but it is giving wrong answer here. Problem: CHEFZOT ( http://www.codechef.com/JUNE14/problems/CHEFZOT/ ). Program submitted by me:...

View Article

Getting WA for GUESS

Hello Everyone,I'm trying to submit the solution for the Problem GUESS but every time i'm getting WA here. I've tried 9 times but it failed. I'm really very disappointed. It runs correctly on my pc....

View Article

Chef and Function MOD for negetive numbers

chef and function (FUNC) June Challenge: is -1%1000000007 to be taken as -1 or is it to be taken as 1000000006. Please answer this because it is creating confusion.

View Article


GETTING WA IN FCTRL2

The program works on ideone and my computer by getting wrong answer here......pls help me in figuring this out.... http://www.codechef.com/viewsolution/3899163

View Article

How do some people get AC for their C++ solution and I get TLE, even when my...

My C++ program for the http://www.codechef.com/JUNE14/problems/DIGJUMP ran at 1.08 seconds and got TLE.When I looked at other people who got AC, there were a few that had execution times higher than...

View Article

properties of mod

Are there any resources/tutorials on the properties of mod ?

View Article


simple problem still getting wrong answer please help

http://www.codechef.com/viewsolution/3958031 this is my code and i think my logic is correct but still its showing wrong answer can somebody tell me the fault. thanks in advance.

View Article


Why am I getting wrong answer

//CODE DELETED I've tried to submit it a hell lot of times, but the message displayed is "Wrong Answer".I can't understand the reason as I've checked my solution for most of the possible cases on my...

View Article

nzec error

this is the code i submitted for wString of june challenge http://www.codechef.com/viewsolution/2276800 it gives me a runtime error can anyone point out the error? thanx in advance! :)

View Article

Clarification in DIGJUMP

In DIGJUMP problem what does 1 (Si-1) and 1 (Si+1) mean?? Please explain.

View Article

Great job!

My solution to http://www.codechef.com/JUNE14/problems/GUESS didn't acccepted, cauze I read the numbers in scanf with %I64d, when I read %lld, it's instantly accepted! Yeah, I tried yesterday 4 hours...

View Article


BISHOPS problem SPOJ

I am trying to solve Bishops problem on SPOJ. I am getting a TLE. There are actually 3 for loops effectively which on maximum runs for 100 times, even though TLE!!! Can some one point out inefficient...

View Article

NZEC Runtime error for ForgetPassword

I am new to ChefCode and i am getting error of NZEC. Below is my code. Please share your knowledge//CODE DELETED

View Article


knight move problem(there is a wrong sign showing in code but i cant figure out)

knight move problem(there is a wrong sign showing in code but i cant figure out) the code is include<cstdio>include<algorithm>include<string.h>include <cstdlib>using namespace...

View Article

Time. is important

If I input a sentence in one time and I input the sentence using getchar one by one then will the time taken be same

View Article


What kind of comment should I post on the problem page?

Is there any comment posting guideline? I am new on this website. I have so many doubts while I participate in a contest. Can I ask them on the problem page by posting a comment? Will I be banned for...

View Article

How could I change size of stack?

I write on dec-cpp c++ 4.9.1 and my solution has Runtime Error(SIGSEGV) on problem Chef and Digit Jumps? What I shall to do?sry for my english.

View Article

GETTING WRONG ANSWER

include<stdio.h>int main(){ int t,n,x[101],y[101],tr1,tr2,tr3,ash,resn,resd,i; float cx,cy; scanf("%d",&t); for(;t>0;t--){resn=0;resd=0; scanf("%d",&n);...

View Article
Browsing all 39796 articles
Browse latest View live


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