AMC 10 Step by Step

2002 AMC 10A Problem 11

P11-15~5 minPrint

Jamal wants to save 30 files onto disks, each with 1.44 MB space. 3 of the files take up 0.8 MB, 12 of the files take up 0.7 MB, and the rest take up 0.4 MB. It is not possible to split a file onto 2 different disks. What is the smallest number of disks needed to store all 30 files?

Log in to save your progress.
Show solution without answering

Key insight

Give each big file (0.8 or 0.7) 3 points and each small file 2 points. No disk can hold more than 6 points, but the files total 75 points.

Solution

This is a "smallest number" question, so it has two halves: show that 1313 disks are enough, then show that 1212 are not.

Setting up. There are 33 files of 0.80.8, 1212 files of 0.70.7, and 30−15=1530 - 15 = 15 files of 0.40.4. Call the 0.80.8 and 0.70.7 files big (1515 of them) and the 0.40.4 files small (1515 of them).

1. What fits on one disk (1.441.44 MB)?
- Two big files: only 0.7+0.7=1.40.7 + 0.7 = 1.4 fits (0.8+0.7=1.50.8 + 0.7 = 1.5 is too much), and then there is no room for anything else.
- One big file: it fits with one small file (0.8+0.4=1.20.8 + 0.4 = 1.2), but not two (0.7+0.4+0.4=1.50.7 + 0.4 + 0.4 = 1.5).
- No big files: at most three small files (1.21.2), since four would be 1.61.6.

Part 1: thirteen disks are enough.

  1. Put each 0.80.8 file with one 0.40.4 file: 33 disks. Pair the twelve 0.70.7 files: 66 disks. The 15−3=1215 - 3 = 12 small files left go three to a disk: 44 disks. That is 3+6+4=133 + 6 + 4 = 13 disks.

Part 2: twelve disks are not enough.

3. Give every big file 33 points and every small file 22 points. Using the list in step 1, the most points a disk can carry is:
- two big files: 3+3=63 + 3 = 6,
- one big and one small: 3+2=53 + 2 = 5,
- three small: 2+2+2=62 + 2 + 2 = 6.

So every disk holds at most 66 points.

  1. The files are worth 15×3+15×2=45+30=7515 \times 3 + 15 \times 2 = 45 + 30 = 75 points in total. Twelve disks carry at most 12×6=7212 \times 6 = 72 points, which is less than 7575. So 1212 disks (or fewer) cannot hold everything.

Thirteen disks work and twelve do not, so the smallest number is 1313.

The answer is (B) 13\boxed{\textbf{(B)}\ 13}.

Why this works

Adding up megabytes gives a lower bound that is too weak, because files cannot be split and space is wasted. Giving each kind of file a score, chosen so that a full disk is worth at most a fixed amount, measures the waste correctly. For any "smallest number needed" question, always do both halves: an arrangement that works, and a reason nothing smaller can.

Alternative approach

Handle the 0.80.8 files first. Each one needs its own disk, and the only thing that fits beside it is one 0.40.4 file, so use 33 disks for 0.8+0.40.8 + 0.4. Left over are twelve 0.70.7 files and twelve 0.40.4 files, totalling 12×1.1=13.212 \times 1.1 = 13.2 MB. Nine disks hold only 9×1.44=12.969 \times 1.44 = 12.96 MB, so at least 1010 more disks are needed, and six disks of 0.7+0.70.7 + 0.7 plus four disks of three 0.40.4 files do it. Total: 1313.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

There are 33 files of 0.80.8, 1212 of 0.70.7, and 30−15=1530 - 15 = 15 of 0.40.4. Call the 0.80.8 and 0.70.7 files "large" (1515 in all). Check what fits in 1.441.44: two large files fit only if both are 0.70.7 (1.41.4), and then nothing else fits; one large file leaves room for at most one 0.40.4 (0.7+0.4+0.4=1.50.7 + 0.4 + 0.4 = 1.5 is too much); a disk with no large file holds at most three 0.40.4 files (1.21.2).

Suppose 1212 disks were enough. Let x,y,zx, y, z be the numbers of disks holding two, one, or zero large files. Then x+y+z=12x + y + z = 12 and 2x+y=152x + y = 15, so x=3+zx = 3 + z and y=9−2zy = 9 - 2z. Those disks can hold at most y+3z=9+zy + 3z = 9 + z small files, and y≥0y \ge 0 forces z≤4z \le 4, so at most 13<1513 < 15 small files fit. Contradiction: 1212 disks fail.

Thirteen disks work: three disks each with 0.8+0.40.8 + 0.4, six disks each with 0.7+0.70.7 + 0.7, and four disks each with three 0.40.4 files. That stores 3+12+15=303 + 12 + 15 = 30 files.

The answer is (B) 13\boxed{\textbf{(B)}\ 13}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2002 12A #9.