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

More test cases for palindromic substrings

Can Any body give me test cases where my code would fail plz? http://www.codechef.com/viewsolution/2400905Thx in Advance.

View Article


More test cases for palindromic substrings

Can Any body give me test cases where my code would fail plz? http://www.codechef.com/viewsolution/2400905Thx in Advance.

View Article


Does CodeChef have any Code Of Conduct?

I am new to CodeChef. I am not sure what can be considered as an improper conduct on this website. I do not want to be penalized for doing something unknowingly which is not the accepted behavior. Is...

View Article

RIVPILE - Editorial

PROBLEM LINKPracticeContestDIFFICULTYMEDIUMPREREQUISITESShortest Path Problem, Dijkstra's AlgorithmPROBLEMYou are given N points in a plane. You are given M types of disks. Each disk has some cost...

View Article

Wrong answer in The lead Game

here is my code, have tried many corner test cases i read in comments and on other forums, getting correct output on my compiler, but wrong answer on codechef#include<stdio.h> int fastread() {...

View Article


Some More Homework - Length of the B sequence

I'm working on my first problem, Some More Homework (code A6). I believe my answer is correct, however I have a problem with the length of the b sequence. In the example given, the length of this...

View Article

Best editors and IDEs for programming

There are many different editors and IDEs available, like:Code Blocks, Kate, gedit, Notepad++, Anjuta, Eclipse, Visual Studio, Vim, Geany, Dev-C++, C++ Builder, MonoDevelop, Nano, Qt, KDevelop, ......

View Article

Problem STONES

Problem-:http://www.codechef.com/status/STONES/My solution-:http://www.codechef.com/viewsolution/2402270It's passing all the test cases,can anyone help me out where it is failing ??

View Article


What are the "must known" algorithms for online programming contests?

Hello all, I've been practicing at Codechef for a while and now I'm gradually moving toward medium/hard problems. However many algorithms at these levels are very difficult to predict, and I was always...

View Article


THREEDIF_Compilation Error

Well my following code is accepted but i have a doubt.When i try to submit it using #define and not by declaring "mod"(refer code) as a variable,it is giving a compilation error.Why is it so?Please...

View Article

Uva 272 - Tex Quotes

I wrote the code for the following problem but I keep on getting wrong answers its such a simple problem, but don't know where am I going wrong in my code, here is my code for...

View Article

wa c [BEX]

hey.. plz look at this solution,it's generating WA each time: http://www.codechef.com/viewsolution/2402560 problem: http://www.codechef.com/problems/BEX plz help, am pissed off this problem.

View Article

TSORT using PHP

I have written a very simple PHP script to try to solve the TSORT problem. I wouldn't be surprised at all if it timed out, but I don't know why I'm getting a "Wrong Answer" message. Can anyone tell me...

View Article


Wrong ans TACHEMIS

http://www.codechef.com/problems/TACHEMIS/I am getting a wrong answer everytime but I have checked a lot of cases and the code runs fine on them Can anyone help me regarding this. Thanx in...

View Article

TLE in KPRIME

Someone please help me optimizing the approach in this problemmy code is here//Program to print all prime factors of a given number n #include "stdio.h" #include "set" #include "math.h" using namespace...

View Article


WA in TAAPLUSB

Algorithm is correct according to me.. tried both with float and double.. I am using the relation: e(i)= 0.45*i + e(i-1)/10 Please help..#include<iostream> #include<cstdio> using namespace...

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


substring_find

explain the fastest way to find all the substrings of a given string with the help of example?

View Article

VOTERS : Getting Wrong Answer

I Have Checked All The Possible Cases For My Code And It Getting Right On My Machine But Here It's Showing Wrong Answer Each Time I Have Submitted My Code.Please Help Me Out To Mark The Error In It....

View Article

PROB - Editorial

PROBLEM LINKPracticeContestDIFFICULTYSIMPLEPREREQUISITESSimple MathPROBLEMYou are given 3 types of tickets.A tickets of type 1, the winning ticket B tickets of type 2, the losing ticket C tickets of...

View Article
Browsing all 39796 articles
Browse latest View live


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