help to find error in lapindrone code
include<stdio.h>include<stdlib.h>include<string.h>char a[1005]; int main() { int c,f,j,g=0,i;char m; int count1=0,count2=0; gets(a); f=strlen(a); for(c='a';c++;c<='h') { m=c;...
View Articleruntimr error
whats wrong in my code http://www.codechef.com/submit/complete/398155-6495--51b22d414fa63 plz....help
View Articlepython runtime NZEC error
I looked at all previous post here in the forum, but I still can't figure out why I'm getting this NZEC here. I'm trying to solve SALARY, http://www.codechef.com/problems/SALARY and here are my...
View ArticleNZEC Error: Python
def main():n = int(raw_input()) initList = [] tempMax = 0 for i in range (0,n): initList.append(raw_input()) initList.sort() i = 0 for i in range (0,n-1): l0 = len(initList[i]) l1 = len(initList[i+1])...
View Articleplease solve NZEC error in java(little more homework)
import java.io.*; class parity { public static void main(String[] args) { BufferedReader k=new BufferedReader(new InputStreamReader(System.in)); int i=0,j=0,t,w,n,p=1; String match=""; String...
View ArticleSuggest new features you think should be added to CodeChef ?
I know have improved a lot by this codechef...its really awesome. But i would like to tell to the admin that codechef should improve a bit more, imean should add some more features....Such as message...
View ArticleNZEC runtime error in python3
This solution for "the rise and fall of power (in practice(easy))" is showing NZEC error. though it runs fine in IDLE . Please help.def main(): t=input() for i in range(int(t)): n,k=input().split()...
View ArticleNew to STL
I've started using STL in C++ but am not much comfortable with it.Could somebody tell me some good source for STL. I wanted to implement a min heap in STL C++ for Dijkstra Algorithm.Could somebody...
View Articlehow bob is winning???(NUMGAME 2)
can u explain me how BOB is winning when N=7; accrding to me-first chance: bob would take out from N prime number 5..ie..(N-5)so new N is 2. second chance: alice would take out 1 and would certainly...
View Articleufff......how many times runtime error..:D
http://www.codechef.com/viewsolution/2204471 why is that runtime has suddenly started to pop out in every solutions i am submitting plz...guys...help me up!!!!for the above code.
View ArticleGetting run time error in NUMGAME2?
http://www.codechef.com/viewsolution/2204397 why its showing run time error????
View Articleruntime error
whats wrong in my code http://www.codechef.com/submit/complete/398155-6495--51b22d414fa63 plz....help
View Articleatm python
please help me i m stuck ..i am getting a run time error here's the code :with_draw,balance =input().split() with_draw=int(with_draw) balance=float(balance) if with_draw>balance or with_draw<0 or...
View ArticleGetting TLE!!
HI , I am keep on getting TLE.I am using BufferedReader for Input reading ,and I do not use any nested loops in my program, even when iterating from 0 to 10^4 once(which generates the correct ans), the...
View ArticleRuntime Error(NZEC)
Can anyone please help me with this runtime error. My code is working correctly for all testcases I can think of. Is it because of some corner cases that it is showing runtime error?? If it does then...
View ArticleDECSTR :-what does the prob mean??
wht does the question says(feeling quite stupid..:))???unable to understand it??
View ArticleUse of modulo 1000007 in Competitions..
I'm new to competitive programming and I have come across the request for the "answer modulo 1000007" on many occasions. Could someone provide me the link for any resource or just explain how I'm...
View Articletime limit
how can i reduce its running time, here's the code http://www.codechef.com/viewsolution/2224775 ???? for the question http://www.codechef.com/problems/ARRANGE.
View Article