May long challenge
Would this month long challenge start from next Friday, as there still no link for the contest.
View ArticlePaying Up : Getting WA
// For identifying Whether a subset exists or not#include <iostream> #include <algorithm> #include <vector> #include <cstdio> using namespace std; int...
View ArticleWA IN HOMEDEL
Can someone please point out the error in this code http://www.codechef.com/problems/HOMDEL/Here is my solution: http://ideone.com/KNrzmrI am basically using Dijkstra's algorithm precomputing the...
View Articlehow to use setprecision (in iomanip header file)?
float y= 0.5; cout<<y; //will give output 0.5 //i want output as 0.50 //what to do?
View Articlein binary tree...... why I get wrong answer
#include<stdio.h> int main() { int c; long int n,a; long int i,j; scanf("%ld",&n); for(a=1;a<=n;a++) { scanf("%ld %ld",&i,&j); c=0; while(1) { if(i>1&&i>j) {...
View ArticleBINTREE - Editorial
PROBLEM LINK:PracticeContestAuthor:Lalit KunduTester:Shiplu Hawlader and Mahbubul HasanEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:Binary TreeLowest Common AncestorPROBLEM:Given infinite full...
View ArticleImprovement
Actually its quite absurd that I am suggesting a improvement because I am nothing in front these young minds however I wanted ask why does code chef not use the problem checking style as used by google...
View ArticleNZEC error
Bank_Charges = 0.50 while(True): Entered_Amount = int(input()) Initial_Balance = float(input()) if Entered_Amount % 5 == 0 and not Entered_Amount>=Initial_Balance: print(Initial_Balance -...
View ArticleHow is accept rate decided?
Some places i saw people got upvote so naturally accept rate increased but some places their is neither upvote nor downvote but their is some percentage(%) of accept rate how is it calculated?
View ArticleShort contest Gambit 2014
I am not able to find the link for registration of team in external contest Gambit 2014 http://www.codechef.com/CDSN2014/
View ArticleSNAPE - Editorial
Problem Link:contest, practiceDifficulty: CakewalkPre-requisites: Geometry, ImplementationProblem:We are given two numbers A and B. Our task is to determine the minimal and the maximal possible value...
View Articlehackerearth may easy challenge
http://www.hackerearth.com/may-easy-challenge-14/algorithm/little-deepak-and-game-of-thrones/ i dont know how to solve this problem,the only way i could think of is marking all the points on or under...
View Articlefunction overloading program
give me some real life based examples of function overloading
View Articleiostream.h: No such file or directory compilation error
in the may contest question 2 my program is showing this compilation error """""prog.cpp:1:22: fatal error: iostream.h: No such file or directory #include "iostream.h""""""""""""""anyone can help??also...
View ArticleStone May Long
My code is running perfect on my computer could any one suggest any common mistake i may be doing
View ArticleOJUMPS - WA
HI I AM NEW TO CODE CHEF . AND I TRIED TO UPLOAD MY PROGRAM IN JAVA ...ACTUALLY I WAS USING JDK 8 (LATEST VERSION)BUT NOW IT SAYS WRONG ANSWER , WHAT COULD BE THE REASON ?? PROGRAM IS WORKING FINE ON...
View Articletest cases for Chef-jumping
I am currently working on the May contest Chef-jumping problem. I tried all the possible cases upto 7 digits input and GETTING THE DESIRED CORRECT OUTPUT on my terminal. But the codechef compiler...
View ArticleMay long challenge
http://www.codechef.com/MAY14/problems/COMPILERJust wanted a clarification.I wanted to know that what will be the answer for this test case <><> . I want to know what does a prefix here means
View Article