Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

Compiler judged WA

Code deleted!!

View Article


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 Article


function overloading program

give me some real life based examples of function overloading

View Article

iostream.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 Article

Stone May Long

My code is running perfect on my computer could any one suggest any common mistake i may be doing

View Article


how to take big input in C

How to take input 10^18 in C

View Article

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

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


May 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


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

COMPILERS question

sir, can you give output for <<><><>>. is it 2 or 4

View Article

Calculation of Memory ?

How is the memory of a problem is calculated?

View Article

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


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

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


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

Chef jumping

CODE REMOVED

View Article


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

COMPILER question

can you give output for the following:<><><><<<<<<><<<<<><>>>><<>><>

View Article

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


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