COOLING - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONThe following greedy algorithm always finds the optimum answer:Choose the lightest pie not yet on a rackIf none of the remaining racks can hold this...
View ArticleWhy is Python 2.7 missing in this problem?
In the problem GCD2 I found that Python 2.7 is missing from the Judge. Why?
View ArticleIs there some codechef API?
I was looking for a way to filter practice problems into Solved/Unsolved/All categories.I came upon this discussion after I asked this question. The extension is for Chrome and I generally use firefox....
View Articleanswers by symmetry but no proof
http://www.codechef.com/problems/J7I submitted this problem and got "correct ans",the problem is really simple if u assume that the rectangle is a square.I saw about 15 other submissions all assuming...
View Articlewhats the best book/source to learn the following: proofs, including proofs...
hi just mention the best source/link/book to learn specifically the following
View Articlebulid up concepts for combinatorics in programming?
If someone is aware of any online resource/book for combinatorics questions in programming i.e. subject formulas, problems please help.
View Articlebooks on algorithm
can anyone pls suggest a good book for ds and algorithm im a beginner so choosing a good book matters a lot .thanks
View Articleatm..wrong answer..cannot find the reason..
Below is the code that i wrote but it always shows"wrong answer" when i submit it.Can some please tell me what is wrong in it? thanx in advance...#include <iostream> #include <iomanip>...
View ArticleSUMTRIAN Submission doubt
I am not sure how solutions which require more than the specified time limit (which is 3 sec) got...
View Articlelinear search
hey so this is my code for linear search. is there a problem with this?. coz its not comparing and returning if i enter an element which does not exist in the array#include<stdio.h>...
View Articleholes:wrong answer..not able to find the reason..pleazzz help!!
#include<stdio.h> #include<string.h> int main() { int tc,c,i,flag=0; scanf("%d",&tc); for(c=0;c<=tc;c++) { char str[100]; char *string; string=gets(str);...
View ArticleUNLUCKY NUMBERS
Hi everyone,I'm struggling with this problem, and I don't have any idea to do it yet. Does anyone know how to solve it?A positive integer is called a lucky number when the sum of some of its digits...
View Articleruntime error..help me out plzz!!
#include<stdio.h> void main() { int tc,num,i; scanf("%d",&tc); for(i=tc;i>0;i--) { scanf("%d",&num); printf("%d\n",fact(num)); } } int fact(int n) { int c,f=1; for(c=1;c<=n;c++) {...
View ArticleJune Long Contest
I dont know if I'm allowed to ask this or not, but I need help from someone who has completed the problem DELISH, and to check my code in JAVA. I am not able to find why its giving WA on codechef but...
View Articlehelp in Best box problem..
i am having a confusion in the best box problem http://www.codechef.com/problems/J7 tel me if i m correct.. p cm wire ie 4l+4b+4h=p and s cm2 are ie 2(lb+bh+hl)=sthis is how 2 equations are need to be...
View ArticleWA in TOURNAM :(
I was trying to solve this problem but i don't know why i'm getting WA.here is my solution I have tested my solution against a accpeted one one ideone, but it is givin correct output Please anyone help...
View Articleplz help for LAPIN
i dont know whether it is allowed to ask this or not... can anybody tell why my lapindrome program is showing Wrong Result. http://www.codechef.com/viewsolution/2262864
View Articlea factory has three divisions and stocks 4 categories of products. an...
to represent each transaction. i have no clue as to what the question means in the first place. i mean a factory produces products why is this one receiving them. what should we do with regards to the...
View Articleintest:enormous input
import java.util.Scanner; class test { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count=0; int o1=sc.nextInt(); int o2=sc.nextInt(); while(o1>0) { int...
View Article