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

unable to solve http://www.codechef.com/problems/H1

please someone help me in doing http://www.codechef.com/problems/H1 . I need help with the logic of this problem. Is there any editorial related to this?

View Article


difference between prinf and in cout?

I tried out this question.. http://www.codechef.com/problems/MARBLEGFI got AC when i used cin and cout... Submission: http://www.codechef.com/viewsolution/3333732 I wanted to increase the speed so I...

View Article


Image may be NSFW.
Clik here to view.

Trick For Feb Long Contest

image?

View Article

Little stuart and his teacher HackerEarth

Little Stuart is a smart guy, and he loves mathematics. Today his math teacher taught his class about common factors. After finishing the class his teacher asked them a question: For a given number "n"...

View Article

problem with object in java

What about the objects which we define outside static method ? how to use them ? Example:=> In the following code how to use object "obj1". I know "obj1" can't be used in static method. But it can...

View Article


uva 10459 - Find all the best and worst roots of an undirected unweighted tree.

Given an undirected tree, how can I find out those vertices which when taken as the root of the tree will minimize the depth of the tree. Similarly, I want to find those vertices which when taken as...

View Article

simple equation uva

http://uva.onlinejudge.org/external/115/11571.html Can anyone help me with a solution to this problem just not able to get it Thanks in advance :)

View Article

Product of Divisors - Time exceeded. Used efficient algos.

Link to the question - http://www.codechef.com/problems/D1/Link to my solution - http://www.codechef.com/viewsolution/3335258I have used a simple and efficient code. Have used as many time-cutters as...

View Article


EDITORIAL BYTES1 - RADIX

Problem Link: http://www.codechef.com/problems/BYTES1Difficulty: EasyStrategy: MemoizationExplanation: The problem can be solved by following strategy:Store the number of occurrence of each value from...

View Article


EDITORIAL BYTES2- JUNKYARD

Problem Link: http://www.codechef.com/problems/BYTES2Difficulty: Easy-MediumStrategy: Binary SearchExplanation: The solution to the problem is implementing binary search on domain 1 to 10^9 and have to...

View Article

EDITORIAL BYTES3 - DESIGN PRO

Problem Link: http://www.codechef.com/problems/BYTES3Difficulty: Medium-HardStrategy: Recursion, DP, Number TheoryExplanation: The initial solution to the problem is by solving through Recursion, and...

View Article

EDITORIAL BYTES5 - BOTS

Problem Link: http://www.codechef.com/problems/BYTES5Difficulty: EasyStrategy: SortingExplanation: The solution to the problem is implementing sorting the given set of numbers and then choosing the...

View Article

EDITORIAL BYTES6 - BRAINWAVE

Problem Link: http://www.codechef.com/problems/BYTES6Difficulty: Easy-MediumStrategy: Adhoc Problem, Number SystemsExplanation: The solution to the problem is adding numbers in base 26. Add the...

View Article


Fold.it : Help solve real world problems by playing games / participating in...

Just came across this interesting thing : www.fold.it . Have just downloaded there arena today . It promises that you can make a difference to protein folding world or atleast learn about protein...

View Article

C or Cpp which is better?

i have this doubt from when i started solving codechef problems.Now i am programming in C language only. Is learning complete C language is more adequate to become a good_programmer/master in codechef...

View Article


problems not added to practice

are problems of external contest (bytes 2014) will be added to practice..?

View Article

NEZC(non exit zero code)

i have written a code the code is working fine but while submitting it i get a Non exit zero code and due to this i m getting a error. but my program i correct and i m getting the correct output too ....

View Article


Image may be NSFW.
Clik here to view.

IITI15 - Editorial

Author's Solution can be found here

View Article

FCTRL unexpected output

Here is my code for http://www.codechef.com/problems/FCTRL problem.The problem is that my program is giving correct output upto factorial 17 but number after 17 gives wrong output. I have tried to code...

View Article

Image may be NSFW.
Clik here to view.

BWALL - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEXPLANATIONSETTER'S SOLUTIONCan be found here.TESTER'S SOLUTIONCan be found here.

View Article
Browsing all 39796 articles
Browse latest View live


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