CHMOD - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYPREREQUISITESSimple Math, Repeated SquaringPROBLEMYou are given a list of N integers.Each value in the list is between 1 and 100.You have to respond to T...
View Articleall substring
can someone provide me a link aur give a hint to generate all substring of a string. i need the fastest way.
View ArticleSEABAL - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYMEDIUMPREREQUISITESSegment Tree, Fenwick TreePROBLEMYou are given an ordered list of N integers that represents the number of ballons at each position.Also, you...
View ArticleHow do you calculate spatial complexity?
HelloI am trying to understand how to calculate the Big O, but for the spatial complexity, I did not find enough information to undertand this topic, can someone explain me?.All I just found is this:...
View Articleminimun sum
given a N*N matrix .. we have to choose N-1 elements elements such that all from diffrent row and diffrent column. and sum of elements are minimized.. any problem releted to this in codechef will also...
View ArticleSPCANDY - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYCAKEWALKPREREQUISITESSimple MathPROBLEMYou wish to equally distribute N candies among M people, using the following algorithmnCandies = 0 candies-with-each-person...
View ArticleSEABAL - long august 13
Getting WA in SEABAL plz help my soln - http://www.codechef.com/viewsolution/2526519
View ArticlePRIMEDST - long august 13
Hello, I kept on getting NZEC on PRIMEDST with my solnI figured out that it was StackOverflowError, can someone please help and suggest some way to implement the algorithm in space efficient manner.
View ArticlePRIMEDST - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYHARDPREREQUISITESFast Fourier Transform, Graph TheoryPROBLEMYou are given a tree with N nodes and exactly N-1 edges.Find the number of pairs of nodes in the tree...
View Articlefopen with modes "w" and "r"
how to combine both modes: "w" and "r" for fopen in a program
View Articleabout long contest rating update
Hi,I've recently got 7 problems accepted in the August long challenge. However, my long rating is .... still NA? Can someone explain whats going on?
View ArticleINTEST in Python
I have done with several submissions for enormous input test in Python2.7 I tried with, import psyco psyco.full() also. Here are some approches I used, 1) I taken all input at once,and then find final...
View Articleranking in codechef
I don't think i should mention the name, but i saw a guy who got 680 long and 321 short global rank by just giving 37 solved problems. Whereas i've also seen coders that have solved about 100 problems...
View ArticleHow can I add something to the getting started page?
The Getting Started page should be a page where someone who wants to start programming should be able to find good resources on the web to do so. However, the present page is not adequate. Also it is...
View Articlematrix with file
Develop a program to find inverse of a square matrix. Program should accept the input matrix via a file. The name of the file should be accepted as an input from console. The file format from which to...
View Articleshould be TLE but getting WA
I tried to figure out every test case covered .....but still getting wrong answer ....please point out my mistake .... this is the problem statement http://www.codechef.com/AUG13/problems/CHMODmy...
View ArticleYahoo Hackathon DP Problem
There is a sequence of N random integers, which can contain any integer between -10 and 10 (both of which are inclusive). The task is to find the number of continuous sequences of integers such that...
View ArticleUsers of same Institution
Since ICPC is near, I thought of having a look at codechef profiles of the students in my college so that I could make a good team with students having good ratings. But since there is no option to...
View Article