Quantcast
Browsing all 39796 articles
Browse latest View live

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 Article


Infinitr 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 Article


TLE 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 Article

How 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 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


Cheating 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 Article

KPRIME - 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 Article

GORDIAN 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 Article


Acess Denied

Plz fix it.getting access denied :(

View Article


Access Denied

Getting access denied on problems for January challenge 2014.

View Article

You 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 Article

You 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 Article

access 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 Article

SMPAINT - Editorial

PROBLEM LINK:PracticeContestAuthor:Tuan Anh Tran DangTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:ChallengePREREQUISITES:Greedy, Dynamic Programming, Heuristic, Mixed MethodsPROBLEM:Given a...

View Article


There 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 Article

input 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 Article


Logic 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 Article

Image may be NSFW.
Clik here to view.

Not 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 Article

Access 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
Browsing all 39796 articles
Browse latest View live


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