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

The complete list of string based algorithms?

may you please provide the complete list of string based algorithms needed to solve most of string based problems?

View Article


getting wrong answer for kingdom unity

pls temme y i am getting wrong answer for http://www.codechef.com/problems/KINGCON my solution is http://www.codechef.com/viewsolution/4061289

View Article


how to sort the co-ordinates (x, y) with respect to x? (c++ stl)

Suppose the list of pairs <(1, 3),(3, 2), (2, 4)> and i want to result as <(1, 3), (2, 4), (3, 2)>. How can i implement it using some STL in C++?Also sorting with respect to second element...

View Article

Strange WA

Hello, I've got very strange WA submitting this problem. After hours spent on searching of error, I replaced gets(a) with scanf("%s", a) and got AC. a - char[100000]. I think that this error is very...

View Article

Forgot Password

My program runs in time complexity O(n) but then also TLE. Please answer what to do and please don't reply that this is an ongoing competition because I am just clarifying. Thanks

View Article


Forgot Password

Can we get some more test case.

View Article

DBOY: Getting wa

I am getting a wrong answer for the practice problem DBOY. Can anyone tell me the problem with my solution?.Please tell me test cases where my code fails.

View Article

Maxim and Progressions

is time limit too strict?? my O(n * 100 * 10) is getting TL.

View Article


Maxim and Progressions

Sry, I didn't understand this: Sequence s[1],  s[2],  ...,  s[k] is called a subsequence of sequence a[1],  a[2],  ...,  a[n], if there will be such increasing sequence of indices i[1], i[2], ..., i[k]...

View Article


DIGJUMP TLE

I tired about 70 times this question, resulting in TLE. Has anyone got an O(n^2) solution accepted ?. Just a yes or no is required.

View Article

RRSTONE - Editorial

PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:SIMPLE PREREQUISITES:AD-HOC PROBLEM:K times, following operation is done on a array A1,A2...AN:...

View Article

request on EDITORIALS....

A small request on EDITORIALS, that is before presenting the algorithm to the problem in EDITORIAL just explain the algorithm or logic of the problem by taking a small example like what they do in...

View Article

WHICH IS THE BEST PLACE FOR PRACTICE??..help

please tell me which competative site is best for practicing?? i m fedup practicing in codechef..i m spending days on problems to find errors and posting doubts without replies.... lot many proplems i...

View Article


TLE in forgetpw help please!

Everything working fine, with my JAVA code for forgetpw, but its giving TLE. I have replaced Scanner with bufferstream and tokenizer, still the same problem..... Please help. I am giving up.

View Article

Runtime Error

Hi, Can you pls check this if there is any runtime error in this program (in codechef complier c gcc 4.8.1 i am geting run time eeror). also let me know how to submit the ans in chefcode.June context...

View Article


Where does my solution fail?

Which case is my solution failing in? Can't seem to figure this one outhttp://www.codechef.com/viewsolution/4069045

View Article

Image may be NSFW.
Clik here to view.

College wise ranking on contest page

Hello friends, As everyone might be knowing already about Codechef college wise ranking website present on www.okrdx.com. Here is it's Chrome plugin, now you can just see ranks without going anywhere...

View Article


MSTICK - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESRange Minimum Query, Simple MathPROBLEMYou are given N matchsticks arranged in a straight line, with their rearends touching each other. You are...

View Article

Difference b/w cookoff, lunchtime, and challenge

Is there any difference b/w these three competetions(on basis of level), or they are all same(just name different)

View Article

java: NZEC runtime error in FORGETPW

i am getting a runtime error of NZEC in java all the time. Please help/suggestions.

View Article
Browsing all 40121 articles
Browse latest View live


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