上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 火车进出栈问题 题目描述 一列火车n节车厢,依次编号为1,2,3,…,n。每节车厢有两种运动方式,进栈与出栈,问n节车厢出栈的可能排列方式有多少种。 输入 一个数,n(n<=60000) 输出 一个数s表示n节车厢出栈的可能排列方式 样例输入 样例输出 思路: 易得答案为 第n项卡特兰数, 可以通过 阅读全文
posted @ 2018-08-27 01:22 Acerkoo 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: Editor 题目描述 You are going to implement the most powerful editor for integer sequences.The sequence is empty when the editor is initialized.There are 5 阅读全文
posted @ 2018-08-27 00:42 Acerkoo 阅读(348) 评论(0) 推荐(0) 编辑
摘要: Problem E. TeaTree Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 1248 Accepted Submission(s): 阅读全文
posted @ 2018-08-26 23:36 Acerkoo 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 问题 C: Crowd Control 题目描述 The BAPC draws a large number of visitors to Amsterdam. Many of these people arrive at the train station, then walk from inte 阅读全文
posted @ 2018-08-24 22:24 Acerkoo 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 4894: Booming Business 题目描述 You are an expert in bonsai, the Japanese art of cultivating small trees in small containers.Every year, you win the Bonsa 阅读全文
posted @ 2018-08-24 22:20 Acerkoo 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 8377: Playoff 题目描述 The Minato Mirai Football Association hosts its annual championship as a single round-robin tournament, in which each team plays a 阅读全文
posted @ 2018-08-23 19:45 Acerkoo 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Problem J. CSGO Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 444 Accepted Submission(s): 220 阅读全文
posted @ 2018-08-23 11:14 Acerkoo 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Problem L.Videos Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 163 Accepted Submission(s): 63 阅读全文
posted @ 2018-08-23 01:03 Acerkoo 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 问题 F: Making the Grade 题目描述 A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not m 阅读全文
posted @ 2018-08-20 22:10 Acerkoo 阅读(722) 评论(0) 推荐(0) 编辑
摘要: Description Mr. Young wishes to take a picture of his class. The students will stand in rows with each row no longer than the row behind it and the le 阅读全文
posted @ 2018-08-19 20:59 Acerkoo 阅读(145) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页