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

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 Article


all substring

can someone provide me a link aur give a hint to generate all substring of a string. i need the fastest way.

View Article


SEABAL - 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 Article

How 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 Article

minimun 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 Article


SPCANDY - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYCAKEWALKPREREQUISITESSimple MathPROBLEMYou wish to equally distribute N candies among M people, using the following algorithmnCandies = 0 candies-with-each-person...

View Article

SEABAL - long august 13

Getting WA in SEABAL plz help my soln - http://www.codechef.com/viewsolution/2526519

View Article

PRIMEDST - 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 Article


PRIMEDST - 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 Article


August Challenge ratings

When will the rating be updated for August Challenge 2013?

View Article

fopen with modes "w" and "r"

how to combine both modes: "w" and "r" for fopen in a program

View Article

about 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 Article

INTEST 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 Article


ranking 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 Article

How 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 Article


i want code to print 1,2,4,8,16,32,37.

to print 1,2,4,8,16,32,37.

View Article

matrix 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 Article


should 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 Article

Yahoo 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 Article

Users 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
Browsing all 40121 articles
Browse latest View live


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