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

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 Article


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


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

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

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


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

why am getting runtime error in lapindrome problem.

package org.test;

View Article

NZEC error

How can i remove NZEC runtime error in JAVA?

View Article


ufff......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 Article


Getting run time error in NUMGAME2?

http://www.codechef.com/viewsolution/2204397 why its showing run time error????

View Article

runtime error

whats wrong in my code http://www.codechef.com/submit/complete/398155-6495--51b22d414fa63 plz....help

View Article

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

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


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

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


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

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


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

graph theory and combinatorics

can you please suggest some good books on graph theory and combinatorics. reply soon...thanks in advance with regards apotheosis321

View Article

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


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