Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 40121 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


data structure

please someone suggest me some good data structure books...so that i can implement it efficiently in the contest i want to learn more about hashing ,priorty queues and some useful data structures

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

WA-galactik

ufff....checked all the test cases but getting wrong ans plzz....guys help me out#include<cstdio> #include<iostream> #include<list> using namespace std; int dfs(int a);int...

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

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

C# : Use in codechef ?

Can C#(C sharp) will be use in doing programming ques and challenges,,?? and if yes which compilers?? pls reply.

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


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

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

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

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


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

Some More Homework - Length of "b" sequence

I'm not the only person who has an issue with this practice problem. Here is a link to the problem.The issue is: b can be an infinite sequence. I have no problem calculating b to an arbitrary length....

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


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

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


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