Provide the test cases after the contets?
Why dont codechef make a scheme in such a way that they provide the test cases for the students who are working on that question? This is available on codeforces and topcoder. Please do consider this...
View ArticleAlgorithm to find roots of a polynomial
I am trying to solve problem "POLYNOMIAL EQUATIONS" at SPOJ.I am not able to understand the algorithm behind this problem.If someone can help me in this i will be very grateful. Thanks.Problem Link:...
View Articlefread doubt
(c = fread (buffer, sizeof (char), SIZE, stdin).....is it supposed to run the number of characters input . because i am using visual studio 2010 and it gives only values 0 and 1.please help.
View Articlehash table/hash map
Hi.. can anyone please tell me what is hash table and hash map...? i really dont have any idea about them.plz help
View ArticlePALINDR using Treaps
As written in the tutorial of the Lucky and Pallindrome (PALINDR) we can solve the last sub tasks using treaps. But after going through tester's and setter's solution I am unable to get how they have...
View ArticleExplanation for GERALD2(November challenge 2013)
Hi,Could anyone please provide an explanation/solution for this problem as editorials were not provided for this problem and I cant seem to decipher the solutions.
View Articlenew feature in codechef user page
Will it not be helpful to new users if codechef starts showing option on each users page about which other users are online,so that we can directly ask question from them(of course some restriction...
View Articlehow to delete an answer in our own question?
Is there a provision in which we can delete an answer posted by someone else which is not proper.I am not talking about reporting the case...But can we do something?
View Articleruntime error nzec
kind of new to this code chef. getting this error often even for the easy programs though i had tested them in other runtime environments. please help how to tackle them. thanks
View ArticleLOWSUM - Getting TLE! How to speed up?
I was trying to implement the solution by following the editorial.http://discuss.codechef.com/questions/29659/lowsum-editorialI am still getting a TLE. What am I missing?#include<stdio.h>...
View ArticleICPC Amritapuri Onsite Round
What is the registration process for newly selected teams for onsite round?
View ArticleGALACTIK - Editorial
PROBLEM LINKPracticeContestDIFFICULTYEASYPREREQUISITESDisjoint Set Data Structure, Simple MathPROBLEMThere are N nodes in a graph labeled from 1 to N. Each node has an associated cost with it, given by...
View Articlepartition a graph
Given a weighted graph G=(V,E) design an algorithm to partition the edge set E into disjoint sets X and Y(E=X U Y) such that X comprises of all those edges which do not appear in any of the minimal...
View Articlebig integer in php
I want to take big integer input in PHP. I am using bcmath but i am not getting how to take such a big integer input.the input is of order 10^40..can someone plz tell how to do it?
View Articlewhere to start!!
I am new to programming and i wanna start right away. From where to start algorithmi coding??
View ArticleWhy java program always take a minimum memory of 177.7 MB and even though...
When I execute some java code in the codechef it always takes 1777.7 Mb of memory and a simple program with 4-5 steps without loop also takes a few seconds.Why?
View ArticleSave Spacemen spiff
hey i guys i have a problem and i am not getting how to solve it... help me some suggestions..Problem 2: Save Spaceman SpiffSpaceman Spiff has crash landed on Planet Quorg. He has to reach his ship...
View Articleproblem HS08TEST run time error
#include<stdio.h> void main() { int angka1; int angka2; float sisa=0; printf("masukkan angka 1 :"); scanf("%d",&angka1); fflush(stdin); printf("masukkan angka 2 :"); scanf("%d",&angka2);...
View Article