×

# What is the meaning of this constraint?

 0 In the Chef and the Patents problem there is a constraint: 1 ≤ sum of K over all test cases ≤ 107 What does this imply? asked 11 Feb '18, 20:41 0★montycs 105●7 accept rate: 0%

 1 Suppose there are T test cases. Let the value of K in ith test case be $K[i]$. Then, this constraint means that $K[1]+K[2] .... K[T-1] +K[T] <= 10^7$ answered 11 Feb '18, 21:31 4.0k●31●104 accept rate: 22%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×2,739
×1,424

question asked: 11 Feb '18, 20:41

question was seen: 215 times

last updated: 11 Feb '18, 21:31