iostream.h and conio.h in c++
i use turbo c++ and my code for "rise and fall of power " worked well in tc. but there was an compilation error stating that iostream.h and conio.h could not be inluded.....what should i do?
View ArticleName reduction Query( May Challenge)
I submitted this code and got WA. Could someone please tell me why I am getting WA despite it working perfectly in my computer.Link to the problem:Name reductionHere is my code://name red 2...
View ArticleCompilation error which using iostream.h and conio.h in c++
i use turbo c++ and my code for "rise and fall of power " worked well in tc. but there was an compilation error stating that iostream.h and conio.h could not be included. what should i do?
View ArticleHelp me with my code for WITMATH
I submitted my code in python of WITMATH during the contest and got AC. When i was submitting the same using C++ it was giving TLE though i had taken all steps to prevent overflow. Please can anyone...
View ArticleRuntime error in rise and fall of power
Can Someone please tell me what is wrong with my code(http://www.codechef.com/viewsolution/2166308) for the question (http://www.codechef.com/problems/A4)
View ArticleGetting WA for The Rise and Fall of Power
Can someone tell whats wrong with my solution to this problem. Problem-http://www.codechef.com/problems/A4/ My solution-http://www.codechef.com/viewsolution/2166013
View ArticleImplementation for WEIRDFN on SPOJ using Red black tree giving TLE
I implemented WEIRDFN on SPOJ link(http://www.spoj.com/problems/WEIRDFN/) using red-black trees which is much similar to Codechef problem RRATING which got AC using same implementation . How much...
View ArticleSUBMIT Button not working!!
@admin : I am not able to submit my code for any problem. Any issue?
View ArticleAMMEAT - Editorial
Problem Link:PracticeContestDifficulty:CAKEWALKPre-requisites:ad-hocProblem:You have N plates of meatballs, the ith having Pi meatballs. What is the minimum number of plates you need to choose so that...
View Articleresources for probability and permutation & combination
I am kind of weak in probability and permutation & combination. But I don't have time to go through entire textbooks. Is there compact tutorial or any site where I can all the concepts.
View ArticleName Reduction | Run time Error
Here is my code: http://www.codechef.com/viewsolution/2167540 , it is giving run time error, I have banged my head for several hours, but couldn't find why, I tried to do it with different array sizes...
View ArticleRun time error in Fierce Battles
I am getting run time error in fierce battles , and i am unable to find the reason for it as it runs on my laptop.
View Articlehow should i start approaching codechef programming?
i have just started getting involved in codechef.. merely reading the practice questions i am not able to understand the way to approach the programmming. someone please help
View ArticleFIRESC - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESGraph Theory, Union Find, Depth First SearchPROBLEMAn Office has several people on which a relationship of being mutual friends is defined. Two...
View ArticleC tutorials
Hello, I have a reasonably knowledge regarding java and I would like to learn the C language, it's just curiosity and I want to have a better understanding of the lower level languages (comparing to...
View ArticleWhere can I see how much time my code needs?
I have written a code and I got TLE. Where can I see how much time my code needs?
View ArticleAMSEQT - Editorial
Problem Link:PracticeContestDifficulty:EasyPre-requisites:Binary Indexed Tree, Ad-hocProblem:You are given a sequence of N positive integers in the range 0 to 2M-1, say A[0], A[1], ..., A[N-1]. In how...
View ArticleAMSGAME1 - Editorial
Problem Link:PracticeContestDifficulty:CAKEWALKPre-requisites:gcdProblem:You are given a set of N positive numbers A[0], A[1], ..., A[N-1]. At each step you pick two unequal numbers and replace the...
View ArticleAUTO USER ID DELETION/DEACTIVATION
I've always had this doubt , does codechef automatically delete/deactivate users under long time of inactivity ?? as in yahoomail/gmail etc. if so how long ??
View ArticleAMROOK - Editorial
Problem Link:PracticeContestDifficulty:MediumPre-requisites:CombinatoricsProblem:You are given a RxC chess board, on which you have to place N rooks. The board is numbered 1 to R from top to bottom and...
View Article