上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 98 下一页
摘要: The K−P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are supposed to write a program t 阅读全文
posted @ 2020-04-28 15:42 Veritas_des_Liberty 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the sequence { 0.1, 0.2, 0.3, 0.4 }, we 阅读全文
posted @ 2020-04-28 00:36 Veritas_des_Liberty 阅读(222) 评论(0) 推荐(0) 编辑
摘要: This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is filled in from the fi 阅读全文
posted @ 2020-04-27 23:22 Veritas_des_Liberty 阅读(156) 评论(0) 推荐(0) 编辑
摘要: A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer 阅读全文
posted @ 2020-04-27 22:45 Veritas_des_Liberty 阅读(179) 评论(0) 推荐(0) 编辑
摘要: When register on a social network, you are always asked to specify your hobbies in order to find some potential friends with the same hobbies. A socia 阅读全文
posted @ 2020-04-27 21:17 Veritas_des_Liberty 阅读(241) 评论(0) 推荐(0) 编辑
摘要: The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input n 阅读全文
posted @ 2020-04-26 23:55 Veritas_des_Liberty 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification: Each input file contains one test case. For each case, th 阅读全文
posted @ 2020-04-26 21:50 Veritas_des_Liberty 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Input our current position and a destination, an online map can recommend several paths. Now your job is to recommend two paths to your user: one is t 阅读全文
posted @ 2020-04-26 18:14 Veritas_des_Liberty 阅读(161) 评论(0) 推荐(0) 编辑
摘要: On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep 阅读全文
posted @ 2020-04-25 18:50 Veritas_des_Liberty 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Given a set of N (>) positive integers, you are supposed to partition them into two disjoint sets A​1​​ and A​2​​ of n​1​​ and n​2​​ numbers, respecti 阅读全文
posted @ 2020-04-25 17:50 Veritas_des_Liberty 阅读(202) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 98 下一页