class="ui bottom attached segment font-content"><div style="position: relative; overflow: hidden;"><p>(buying.pas/buying.in/buying.out 128M 1S) Farmer John needs to travel to town to pick up K (1 &lt;= K &lt;= 100) pounds of feed. Driving D miles with K pounds of feed in his truck costs D*K cents. The county feed lot has N (1 &lt;= N &lt;= 100) stores (conveniently numbered 1..N) that sell feed. Each store is located on a segment of the X axis whose length is E (1 &lt;= E &lt;= 350). Store i is at location 