摘要: 给你n个整数,请按从大到小的顺序输出其中前m大的数。 Input每组测试数据有两行,第一行有两个数n,m(0<n,m<1000000),第二行包含n个各不相同,且都处于区间[-500000,500000]的整数。 Output对每组测试数据按从大到小的顺序输出前m大的数。 Sample Input 阅读全文
posted @ 2020-03-29 20:14 梦娃子 阅读(260) 评论(0) 推荐(0)
摘要: A binary tree is a finite set of vertices that is either empty or consists of a root r and two disjoint binary trees called the left and right subtree 阅读全文
posted @ 2020-03-29 18:38 梦娃子 阅读(178) 评论(0) 推荐(0)