摘要: https://leetcode.com/problems/trim-a-binary-search-tree/ Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so 阅读全文
posted @ 2018-12-27 22:29 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805415005503488 Given any positive integer N, you are supposed to find all of its prime 阅读全文
posted @ 2018-12-27 16:51 丧心病狂工科女 阅读(226) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1092/problem/D2 Vova's family is building the Great Vova Wall (named by Vova himself). Vova's parents, grandparents, gra 阅读全文
posted @ 2018-12-27 15:03 丧心病狂工科女 阅读(249) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1092/problem/D1 Vova's family is building the Great Vova Wall (named by Vova himself). Vova's parents, grandparents, gra 阅读全文
posted @ 2018-12-27 14:43 丧心病狂工科女 阅读(245) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1092/problem/C Ivan wants to play a game with you. He picked some string ss of length nn consisting only of lowercase La 阅读全文
posted @ 2018-12-27 13:49 丧心病狂工科女 阅读(246) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1092/problem/B There are nn students in a university. The number of students is even. The ii-th student has programming 阅读全文
posted @ 2018-12-27 11:23 丧心病狂工科女 阅读(200) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1092/problem/A You are given two integers nn and kk. Your task is to construct such a string ss of length nn that for ea 阅读全文
posted @ 2018-12-27 11:11 丧心病狂工科女 阅读(273) 评论(0) 推荐(0) 编辑