Please help
I m new to Codechef....but i m not able to get even one successful submition.....my code is working fine ,in IDE i m using..but here it shows some or the other error..... even for the question...
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 ArticleHow to solve this calculation ?
C(N,K)%M , where M is a prime number , N and K is very big number (N<=10^6), How is solution ?
View Articlehow to detect arrow key inputs in c without using getch of conio.h.
well i am trying to create a game in c which requires the use of arrow keys as input. the book where i came across this question gives a function definition that is required to detect arrow key inputs....
View ArticleHow to find algorithm for a problem?
How do people solve problems so awesomely..? What do they do for that and how do they do it? PLease help.
View ArticleWrong Answer after running for 1.14secs,what can be possible bug?
I am solving a question of June Challenge and my solution terminates with WA after running for 1.14 seconds. I am unable to debug it,everything seems okay. What can be a possible bug? Whether long...
View Articlegraph theory and combinatorics
can you please suggest some good books on graph theory and combinatorics. reply soon...thanks in advance with regards apotheosis321
View Articleimproving programming ability
can anyone please suggest me how to improve my programming ability. how much hours of practice i must do every day are there any goo books with some good programming questions?
View Article