Question - Marbles. Why does it show wrong answer? Answer is simply (n-1)C(k-1).
Link to the question - http://www.codechef.com/problems/MARBLES#include<iostream> #include <algorithm> using namespace std; int main() { int i, T; long int j, n, k, lnMin; long long int...
View ArticleInfinitr Grid game,solution not giving correct resutl,please help
here is the link to question http://www.codechef.com/problems/IGAMEhere is my code#include<iostream> #include<string> using namespace std; int main() { short T=0,m=0,n=0; short...
View ArticleTLE in a two line program in Java....Plz help.
Program Description is available on: http://www.codechef.com/problems/DCE05My solution to the problem is : http://www.codechef.com/viewsolution/3150642This is a two line program with a single "for"...
View ArticleHow to declare multiple input statement in a single line in java ???
How to declare multiple input statement in a single line in java????example:taking input of three integers: 2 3 4 (taking input in a single line)taking input of three integers: 234i am talking about...
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 ArticleCheating in December Long-DECORATE
These 2 submissions seem to be identical.@admin do have a look at it. PS:Both are in the top 20 .http://www.codechef.com/viewsolution/3095229http://www.codechef.com/viewsolution/3068078
View ArticleKPRIME - Editorial
PROBLEM LINKPracticeContestDIFFICULTYSIMPLEPREREQUISITESSieve of EratosthenesPROBLEMA number is called a K-prime if it has K distinct prime factors.Find the number of K-prime numbers between some given...
View ArticleGORDIAN KNOT, the mathematical problem solving and computing contest by IIITH
Felicity Threads, the tenth annual edition of computing festival of IIITH is back.Presenting the first event of Threads, Gordian Knot, with intriguing problems in mathematics and computing, inspired by...
View ArticleYou are not authorized to access this page.
Its showing the following message to me : "You are not authorized to access this page" whenever I try to see the problem statements.
View ArticleYou are not authorized to access this page jan 2014 contest is in process.
I got this message "You are not authorized to access this page." Please say what is it, why it occur'd.the contest is on process. please suggest what to do.
View Articleaccess denied
getting access denied on clicking on any problem in january long challenge ???
View Article"You are not authorized to access this page."
I am seeing this error message for half an hour now. What could be the problem? I do know that I was quite frequently refreshing the 'submit' page on a problem due to erratic Wi-Fi.
View ArticleSMPAINT - Editorial
PROBLEM LINK:PracticeContestAuthor:Tuan Anh Tran DangTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:ChallengePREREQUISITES:Greedy, Dynamic Programming, Heuristic, Mixed MethodsPROBLEM:Given a...
View ArticleThere is any limit on submiting problems in online contest jan 2014
I think i submited 7 or 8 time single problem it is showing red color text on the problem text color.Can any one explain it. What i need to do.
View Articleinput in python
How can we input data in python like that of ideone. like i have input stored in file and i want to give whole input at once through stdin.
View ArticleLogic of funny marbles unveiled
Funny marbles is a problem from Dec 2013 Challenge and here's the link for this problem http://www.codechef.com/problems/MARBLEGFGiven an array of marbles each student has initially we can have 3...
View ArticleNot able to see problems of January Challenge 2014
Hello all,Can any tell me why i am not authorize to access the page for problem statement of codechef january challenge-2014?Here I am attaching the screen shot of my error.
View ArticleAccess denied page
Hello,I logged on with my account and when I try to view a problem from the January contest, I get an access denied page. What is wrong?Thanks.
View Article