CodeChef Logo CodeChef Logo
Courses

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Programming and DSA

Explore courses

Catalogue

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Explore courses
Practice Compete Compiler
Upgrade to Pro
Courses

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Programming and DSA

Explore courses

Catalogue

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Explore courses
Practice Compete Compiler
Home » Wiki » May 2012 Contest Problem Editorials

May 2012 Contest Problem Editorials

Problem Tester for the contest was Subrahmanyam Velaga.

A Home for Chef (written by ishani parekh). The Editorials can be found here.

Lucky lucky number (written by ishani parekh). The Editorials can be found here.

Killing Gs (written by Hiroto Sekido). The Editorials can be found here.

Digits Forest (written by Anh Duong Quang). The Editorials can be found here.

Divisible Pairs (written by Tasnim Imran Sunny). The Editorials can be found here.

Little Elephant and Boxes (written by Vitaliy). The Editorials can be found here.

Little Elephant and Median (written by Vitaliy). The Editorials can be found here.

Jewels and Stones (written by Nikhil Garg). The Editorials can be found here.

Selling Tickets (written by David Stolp). The Editorials can be found here.

Remember the recipe (written by Kaushik Iska). The Editorials can be found here.

Does f[i,j,k] means something

6★rubanenko @ 11 May 2012 05:19 PM
Does f[i,j,k] means something like minimum expenses of making k 1-bits on i..j segment? Please, tell your idea if it's not simillar.

@iscsi: Actually, I was

7★KADR @ 11 May 2012 06:09 PM
@iscsi: Actually, I was trying to reach 24.0 at least in the archive. But seems it's going to take a while.

For the cockroach part I

6★iscsi @ 11 May 2012 06:41 PM
For the cockroach part I would like to write everybody but this page don't like new lines :)

ok

3★cool123 @ 13 May 2012 12:59 PM
ok

It stands for Dynamic

1★vipul4vb @ 14 May 2012 10:31 AM
It stands for Dynamic Programming...

@admin no,thnx:)

2★lalit1991 @ 16 May 2012 06:51 PM
@admin no,thnx:)

median is a term applicable

1★neo_aryan @ 19 May 2012 10:00 PM
median is a term applicable for sorted array .... its the central item of a sorted array.. it is used in statistical mathematics .... so if there are 7 terms in an array.. median is the middle element ie 4th element in the sorted array.. if there are 8 elements then average of 4th and 5th both elements are taken in consideration... if there value is v4 and v5 then median i(s v4+v5)/2.. also check this link http://www.mathsisfun.com/median.html
Workden, MNR PRIDE, 14, HAL Old Airport Rd, Domlur I Stage, 1st Stage, DOMLUR, Bengaluru, Karnataka 560071 [email protected] +91 95911 47880
Find us online

ROADMAPS

Learn Python
Learn Java
Learn C
Learn C++
Data structures and Algorithms
Competitive Programming
More Roadmaps

CAREER PATHS

React JS Developer
Full stack Developer
SQL for Data Analysis
Frontend Developer
Java Backend Developer
Data Analysis using Python
Python Backend Developer
C++ Developer
Machine Learning using Python

COMPILERS

HTML online compiler
C++ online compiler
C online compiler
Java online compiler
Python online compiler
SQL online compiler
JavaScript online compiler
React online compiler
More compilers

COMPANY

About us
For colleges
Coding Contests
Blogs
Contact us
Privacy Policy
Frequently Asked Questions

© 2025 CodeChef Inc. All rights reserved.

We use cookies to improve your experience and for analytical purposes. Read our Privacy Policy and Terms to know more. You consent to our cookies if you continue to use our website.