Skip to content

Commit

Permalink
Merge pull request julycoding#445 from changxiangzhong/patch-1
Browse files Browse the repository at this point in the history
Update 02.10.md
  • Loading branch information
Boshen authored Dec 14, 2016
2 parents eeb633f + 4ae5c13 commit eeb2b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebook/zh/02.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### 题目大意:

You're given k arrays, each array has k integers. There are kk ways to pick exactly one element in each array and calculate the sum of the integers. Your task is to find the k smallest sums among them.
You're given k arrays, each array has k integers. There are k^k ways to pick exactly one element in each array and calculate the sum of the integers. Your task is to find the k smallest sums among them.

#### Input
There will be several test cases. The first line of each case contains an integer k (2<=k<=750). Each of the following k lines contains k positive integers in each array. Each of these integers does not exceed 1,000,000. The input is terminated by end-of-file (EOF). The size of input file does not exceed 5MB.
Expand Down

0 comments on commit eeb2b98

Please sign in to comment.