ผลต่างระหว่างรุ่นของ "01204212/homework/top scores"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
(หน้าที่ถูกสร้างด้วย ': ''This is part of [[01204212]'' You want to maintain a table of teams with top 10 scores in a world-wide game competition. You will...')
(ไม่แตกต่าง)

รุ่นแก้ไขเมื่อ 23:07, 23 พฤศจิกายน 2559

This is part of [[01204212]

You want to maintain a table of teams with top 10 scores in a world-wide game competition. You will get M updates. After every K updates, you want to print out a table of teams with top 10 scores. If there are ties, you should show teams with smaller IDs first.

Input/output

Examples

Some code