Luo Gu p1056

There is a very important point of note is that the final output is dictionary order, so greedy method for the number of students each row whisper finished sequence also decided on the number of rows to sort these lexicographical again after a few lines of what you want to divide, so the results it will be from small to large output

Guess you like

Origin www.cnblogs.com/ssNiper/p/11111052.html