hackerearth 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 Articlegetting wrong answer
i am not able to figure out the reason for a wrong answer. The program is logically correct but still it produces a wrong answer and I am not able to understand why this is happening please somebody help
View ArticleMay Long- Chef and Strange Matrix (CHEFBM)
In p[i][j], will all the p[i][0] be sorted in ascending order? Ex: (2 2) (3 2) (3 2) (4 3) (4 4) (4 3) is the only way or can this be written in this way too: (3 2) (3 2) (2 2) (4 3) (4 4) (4 3) ?
View ArticleChopsticks problems getting sigsegv
Here is my solution for TACHSTCK problem: http://www.codechef.com/viewsolution/3816885Can anyone help me out why I get sigsegv?Thanks a lot!
View ArticleNth magic square
Let us say that a magic square is a 4x4-square grid of numbers 1,...,16 in some order such that the sum of numbers of every horizontal row or vertical column is constant. How can I make the program to...
View Articlemy code for longest common pattern(Problem code: LCPESY)......it is showing...
//#include<iostream>include<string.h>//#include<math.h>include<stdio.h>//using namespace std;int main() { char a[10000],b[10000]; //int rslt[100]; int t; //cin>>t;...
View ArticleChef - Jumping
When compiling online its returning wrong answer. It works well on my local computer. Is there any kind of format for the output?
View ArticleLittle Elephant and Balloons
Hi guys i have been working on the LEBALONS problem it has two ambiguitiesIts not mentioned if there are balloons with same color what are the possible edge condiions ?Like 0 minimum color ..
View Article