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 ArticleWrong 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 ArticleFACTMUL 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 Articlehelp me to solve the problem
how this problem can we solved using LIS dp method www.spoj.com/problems/MSTICK/
View ArticleInvitation: 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 ArticleRuntime 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 ArticlePRIME1: 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 Articlegetting error
IN visual studio output window successfully compiled , but getting error while compiling in code chef
View ArticleHow to solve this knapsack problem
How can i solve scuba dive question of SPOJ http://www.spoj.com/problems/SCUBADIV/
View ArticleIMPLEMENTING HASH TABLE
how to implement own hash table in c programming language? plz help me !!!!!
View ArticlePairwise 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 ArticleTransform 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 ArticleIn 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 Articlegetting 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 ArticleWhy 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 ArticleORDERS 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 ArticleMSTICK - 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 ArticleLEBALONS - Editorial
PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY-MEDIUM PREREQUISITES:Combinatorics, Dynamic Programming, Probability PROBLEM:Given N ballons, i'th...
View Articlegetting 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 ArticleFile 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