摘要: Returning back to problem solving, Gildong is now studying about palindromes. He learned that a palindrome is a string that is the same as its reverse 阅读全文
posted @ 2020-02-16 21:03 蓉~ 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Gildong owns a bulgogi restaurant. The restaurant has a lot of customers, so many of them like to make a reservation before visiting it. Gildong tries 阅读全文
posted @ 2020-02-16 20:59 蓉~ 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 给你n个整数,请按从大到小的顺序输出其中前m大的数。 Input每组测试数据有两行,第一行有两个数n,m(0<n,m<1000000),第二行包含n个各不相同,且都处于区间[-500000,500000]的整数。Output对每组测试数据按从大到小的顺序输出前m大的数。Sample Input 5 阅读全文
posted @ 2020-02-16 20:53 蓉~ 阅读(326) 评论(0) 推荐(0) 编辑