ACM Problems

Practices

Date Problems Test Input Test Output
April 5
.
.
Duck!
Dude... where's my gas?
Let me count the ways (1)
duck.in
dude.in
count.in
duck.out
dude.out
count.out
April 19
.
.
Playing the percentages
Puzzling numbers
Shuffle off to... Milledgeville
percent.in
puzzle.in
shuffle.in
percent.out
puzzle.out
shuffle.out
May 8
.
.
Bingo was its name-o
The smart Alec cashier
Charity begins at home-page
bingo.in
cashier.in
charity.in
bingo.out
cashier.out
charity.out
May 29
.
.
Four in a row
Pompeiian numerals
If it is a javelin, duck
four.in
pompeii.in
javelin.in
four.out
pompeii.out
javelin.out
June 5
.
.
.
The Y2K problem
Inside information
Frequency decoding
Let me count the ways (2)
y2k.in
inside.in
decode.in
count.in
y2k.out
inside.out
decode.out
count.out
June 12
.
.
.
A-range-ing data
The Webster ranking
A Pruf problem
The "simple" problem
range.in
webster.in
pruf.in
simple.in
range.out
webster.out
pruf.out
simple.out
June 26
.
.
.
North and south
Exactly XML
Pointing the way
Crop circles
north.in
xml.in
point.in
circle.in
north.out
xml.out
point.out
circle.out
July 3
.
.
.
Get the picture
The year 2000 problem
Goldbach conjecture
Perfect squares
picture.in
year2000.in
goldbach.in
squares.in
picture.out
year2000.out
goldbach.out
squares.out
July 10
.
.
.
Tilt graph problem
Automatic translation
Long, long division
Rush hour
tilt.in
text.in1 and text.in2
longdiv.in
rush.in
tilt.out
text.out
longdiv.out
rush.out
July 24
.
.
.
Halting factor replacement system
It's the great pumpkin patch problem
Approximate matches
Auburn courier and messages
factor.in
pumkin.in
mismatch.in
acm.in
factor.out
pumkin.out
mismatch.out
acm.out
August 7
.
.
.
Prime cuts
Uniform generator
Excuses, excuses
Station balance
cuts.in
uniform.in
excuses.in
balance.in
cuts.out
uniform.out
excuses.out
balance.out
September 28
.
.
.
.
.
.
.
.
Towers of Hanoi
Vacuum injection modeling
IP address analysis
Build gates
Telephone alaphabetics
Computer algebra
Gopher hole I
Gopher hole II
100's game
hanoi.in
molding.in
ip.in
gates.in
phone.in
cas.in
holes1.in
holes2.in
game.in
hanoi.out
molding.out
ip.out
.
phone.out
cas.out
holes1.out
holes2.out
game.out
October 5
.
.
.
.
.
.
Lonely
Bowl
Deck
Eight
Gizilch
Ratio
Scrabble
lonely.in
bowl.in
deck.in
eight.in
gizilch.in
ratio.in
scrabble.in and words.in
lonely.out
bowl.out
deck.out
eight.out
gizilch.out
ratio.out
scrabble.out

Homeworks

Due Date Problems Test Input Test Output
April 5
.
Are we there yet?
Hey, you're not Marion Jones!
cookie.in
checksum.in
cookie.out
checksum.out
April 19
.
.
Duck!
Dude... where's my gas?
Let me count the ways
percent.in
puzzle.in
shuffle.in
percent.out
puzzle.out
shuffle.out
May 8
.
.
Playing the percentages
Puzzling numbers
Shuffle off to... Milledgeville
percent.in
puzzle.in
shuffle.in
percent.out
puzzle.out
shuffle.out
May 22
.
.
Bingo was its name-o
The smart Alec cashier
Charity begins at home-page
bingo.in
cashier.in
charity.in
bingo.out
cashier.out
charity.out
May 29
.
.
The party's in Dolores's driveway
Programming olympiad
Rectangular rectitude
driveway.in
olympics.in
rect.in
driveway.out
olympics.out
rect.out
June 5
.
.
Four in a row
Pompeiian numerals
If it is a javelin, duck
four.in
pompeii.in
javelin.in
four.out
pompeii.out
javelin.out
June 12
.
.
.
The Y2K problem
Inside information
Frequency decoding
Let me count the ways (2)
y2k.in
inside.in
decode.in
count.in
y2k.out
inside.out
decode.out
count.out
June 26
.
.
.
A-range-ing data
The Webster ranking
A Pruf problem
The "simple" problem
range.in
webster.in
pruf.in
simple.in
range.out
webster.out
pruf.out
simple.out
July 3
.
.
.
North and south
Exactly XML
Pointing the way
Crop circles
north.in
xml.in
point.in
circle.in
north.out
xml.out
point.out
circle.out
July 10
.
.
.
Get the picture
The year 2000 problem
Goldbach conjecture
Perfect squares
picture.in
year2000.in
goldbach.in
squares.in
picture.out
year2000.out
goldbach.out
squares.out
July 24
.
.
.
Tilt graph problem
Automatic translation
Long, long division
Rush hour
tilt.in
text.in1 and text.in2
longdiv.in
rush.in
tilt.out
text.out
longdiv.out
rush.out
August 7
.
.
.
Halting factor replacement system
It's the great pumpkin patch problem
Approximate matches
Auburn courier and messages
factor.in
pumokin.in
mismatch.in
acm.in
factor.out
pumpkin.out
mismatch.out
acm.out
August 14
.
.
.
Prime cuts
Uniform generator
Excuses, excuses
Station balance
cuts.in
uniform.in
excuses.in
balance.in
cuts.out
uniform.out
excuses.out
balance.out
Back to the ACM Programming home page
.