Competitive Programming

ICPC 2017

All 12 ICPC problems from 2017, each with a statement view, editorial, and C++ implementation.

12 problem pages
12 statement text files
12 statement PDFs
May 21, 2026 most recently updated solution

Problem set

Each entry below goes straight to the public problem page, with the statement, editorial, code, and raw resources kept together.

ICPC 2017

A. Airport Construction

A

event sponsor ICPC 2017 Problem A Airport Construction Time limit: 2 seconds The tropical island nation of Piconesia is famous for its beautiful beaches, lush vegetation, cocoa and coffee plantations, and wonderful weather all year round. This paradise is b...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

B. Get a Clue!

B

event sponsor ICPC 2017 Problem B Get a Clue! Time limit: 4 seconds Developed in the 1940s in the United Kingdom, the game of Cluedo is one of the most popular board games in the world. The object of the game is to determine who murdered Mr. Body, which wea...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

C. Mission Improbable

C

event sponsor ICPC 2017 Problem C Mission Improbable Time limit: 1 second It is a sunny day in spring and you are about to meet Patrick, a close friend and former partner in crime. Patrick lost most of his money betting on programming contests, so he needs...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

D. Money for Nothing

D

event sponsor ICPC 2017 Problem D Money for Nothing Time limit: 5 seconds In this problem you will be solving one of the most profound challenges of humans across the world since the beginning of time – how to make lots of money. You are a middleman in the...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

E. Need for Speed

E

event sponsor ICPC 2017 Problem E Need for Speed Time limit: 1 second Sheila is a student and she drives a typical student car: it is old, slow, rusty, and falling apart. Recently, the needle on the speedometer fell off. She glued it back on, but she might...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

F. Posterize

F

event sponsor ICPC 2017 Problem F Posterize Time limit: 2 seconds Pixels in a digital picture can be represented with three integers in the range 0 to 255 that indicate the intensity of the red, green, and blue colors. To compress an image or to create an a...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

G. Replicate Replicate Rfplicbte

G

event sponsor ICPC 2017 Problem G Replicate Replicate Rfplicbte Time limit: 3 seconds The owner of the Automatic Cellular Manufacturing corporation has just patented a new process for the mass production of identical parts. Her approach uses a two-dimension...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

H. Scenery

H

event sponsor ICPC 2017 Problem H Scenery Time limit: 6 seconds Images by John Fowler, Carol Highsmith, and Richard Woodland You have decided to spend a day of your trip to Rapid City taking photographs of the South Dakota Badlands, which are renowned for t...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

I. Secret Chamber at Mount Rushmore

I

event sponsor ICPC 2017 Problem I Secret Chamber at Mount Rushmore Time limit: 1 second By now you have probably heard that there is a spectacular stone sculp- ture featuring four famous U.S. presidents at Mount Rushmore. How- ever, very few people know tha...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

J. Son of Pipe Stream

J

event sponsor ICPC 2017 Problem J Son of Pipe Stream Time limit: 5 seconds Two years ago, you helped install the nation’s very first Flubber pipe network in your hometown, to great success. Polls show that everyone loves having their own Flubber dispenser i...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

K. Tarot Sham Boast

K

event sponsor ICPC 2017 Problem K Tarot Sham Boast Time limit: 2 seconds Curse your rival! Every year at the annual Rock Paper Scissors tournament, you have made it to the final match. (Your Rock technique is unmatched, and your Paper cuts to the bone! Your...

TeX C++ Statement text Statement PDF
Open problem page
ICPC 2017

L. Visual Python++

L

event sponsor ICPC 2017 Problem L Visual Python++ Time limit: 5 seconds In the recently proposed Visual Python++ programming language, a block of statements is represented as a rectangle of characters with top-left corner in row r1 and column c1 , and botto...

TeX C++ Statement text Statement PDF
Open problem page