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

can any one suggest whats wrong in this???

Q) http://www.codechef.com/MAY14/problems/CHEFBM my solution :-http://www.codechef.com/viewsolution/3896589

View Article


Wrong Answer verdict on TIDRICE problem

My solution for the problem TIDRICE seems to be correct. But on running on codechef judge, it says "Wrong Answer". I am not able to figure out the problem with my code, it seems to be working quite...

View Article


FACTMUL problem in SPOJ

question link:- http://www.spoj.com/problems/FACTMUL/ link to my solution:- http://ideone.com/U97WEX What's wrong with my code?Pls someone help

View Article

help me to solve the problem

how this problem can we solved using LIS dp method www.spoj.com/problems/MSTICK/

View Article

Invitation: HackerEarth June Easy Challenge

Hello everybody!We invite you to participate in HackerEarth's June Easy Challenge Event Date & Time: June 1 2014, 9:30 PM IST Event Link: June Easy Challenge | HackerEarthIf you are a beginner this...

View Article


Runtime error in LELEMONADE

i tried to build a faster solution but getting sigsegv can anyone help.thanks in advance!!my solution: http://www.codechef.com/viewsolution/3957761problem link: http://www.codechef.com/problems/LELEMON

View Article

PRIME1: pc's terminal prints correct output, SPOJ shows "Time Limit...

After trying to implement the sieve of eratosthenes and finally get it right (at least I think I did), the SPOJ result is time limit exceeded, tried to execute it in ideone to see how much time it...

View Article

getting error

IN visual studio output window successfully compiled , but getting error while compiling in code chef

View Article


How to solve this knapsack problem

How can i solve scuba dive question of SPOJ http://www.spoj.com/problems/SCUBADIV/

View Article


IMPLEMENTING HASH TABLE

how to implement own hash table in c programming language? plz help me !!!!!

View Article

Pairwise AND sum

They have given the constraints, in the subtasks and had not told about the task. So, please tell me where we have to use these constraints, for what?I have made a simple code for this question that is...

View Article

Transform the expression [SIGSEGV] ERROR

On submitting my code,i am getting [SIGSEGV] error.I am not able to find the cause of this error my code is given below#include<iostream> #include<stack> #include<string.h>...

View Article

In Java solution of the following problem, getting NZEC on closing...

Hi,I have been solving the following question. http://www.codechef.com/problems/WALK the question is an easy one. My question is regarding this solution. http://ideone.com/zbSaAy if i keep br.close()...

View Article


getting wrong answer

include<stdio.h>int main() { int n,i,z; double k; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%d",&z); for(k=1;z;z--) k=k*z; printf("%.f\n",k); } return 0; }

View Article

Why my code is giving wrong answer for Traveling Plan Problem

Can any body tell me why my code is giving wrong answer ?Algorithm :unsigned long max -> will contain the final max waiting time in optimal case unsigned long t -> T unsigned long m -> M...

View Article


ORDERS SPOJ

How to solve this problem http://www.spoj.com/problems/ORDERS/ I have seen some solution implementing tree to solve it but not able to understand it please help me out....

View Article

MSTICK - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESRange Minimum Query, Simple MathPROBLEMYou are given N matchsticks arranged in a straight line, with their rearends touching each other. You are...

View Article


LEBALONS - Editorial

PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY-MEDIUM PREREQUISITES:Combinatorics, Dynamic Programming, Probability PROBLEM:Given N ballons, i'th...

View Article

getting wrong answer for TREE PRODUCT

i am getting worng answer for http://www.codechef.com/problems/TPRODUCT ...this s my solution http://www.codechef.com/viewsolution/3963593 ...pls help

View Article

File size limit exceeded !!!

Check out this link:http://www.codechef.com/status/COINS,mkrjn99 I don't know why am I getting file size too large when my source code is well under the source code limit.

View Article
Browsing all 40121 articles
Browse latest View live


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