Little bunny and corns

Limits: 1s, 1.0 GB

Little Bunny loves to eat corns. Fortunately, he lives near an abandoned house which has a huge cornfield in the backyard. For some weird reason, all the corn plants are in a single row. Each plant has only one corn. Each corn has two important properties, length and quality.


This is a companion discussion topic for the original entry at https://toph.co/p/little-bunny-and-corns