CIELAB - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONThis is the easiest problem in the set. This problem can be solved various methods. For instance, if A - B mod 10 = 9, print A - B - 1, otherwise...
View ArticleMarbles wrong answer
Can anyone tell me where I went wrong in the Marbles problem? I dont see any fault in my Solution.
View Articleunable 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 Articledifference 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 Articlecountry code & rank problem
why I don't see my rank? and why I don't have any country code?
View ArticleLittle 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 ArticleHelp in MTRICK
Hello @all,As some people said that brute-force was possible for this problem, I decided to try and solve it that way and wrote the following code:#include <stdio.h> #include <algorithm>...
View Articleproblem 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 Articleuva 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 Articlesimple 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 ArticleProduct 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 ArticleEDITORIAL 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 ArticleEDITORIAL 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 ArticleEDITORIAL 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 ArticleEDITORIAL 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 ArticleEDITORIAL 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 ArticleFold.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 ArticleC 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