摘要: 题目地址 This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral mat... 阅读全文
posted @ 2019-12-25 22:49 vincent's_blog 阅读(23) 评论(0) 推荐(0)
摘要: 题目地址 A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a produ... 阅读全文
posted @ 2019-12-25 22:48 vincent's_blog 阅读(46) 评论(0) 推荐(0)
摘要: 题目地址 When register on a social network, you are always asked to specify your hobbies in order to find some potential friends wi... 阅读全文
posted @ 2019-12-25 22:48 vincent's_blog 阅读(23) 评论(0) 推荐(0)
摘要: 请输入链接描述 The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complica... 阅读全文
posted @ 2019-12-25 22:47 vincent's_blog 阅读(20) 评论(0) 推荐(0)
摘要: 题目地址 Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: T... 阅读全文
posted @ 2019-12-25 22:47 vincent's_blog 阅读(25) 评论(0) 推荐(0)
摘要: 题目地址 Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification:Each input file contains one t... 阅读全文
posted @ 2019-12-25 22:46 vincent's_blog 阅读(25) 评论(0) 推荐(0)
摘要: 题目地址 Input our current position and a destination, an online map can recommend several paths. Now your job is to recommend two ... 阅读全文
posted @ 2019-12-25 22:45 vincent's_blog 阅读(23) 评论(0) 推荐(0)
摘要: 题目地址 On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding t... 阅读全文
posted @ 2019-12-25 22:45 vincent's_blog 阅读(34) 评论(0) 推荐(0)
摘要: 题目地址 Given a set of N (>1) positive integers, you are supposed to partition them into two disjoint sets A​1​​ and A​2​​ of n​1​... 阅读全文
posted @ 2019-12-25 22:44 vincent's_blog 阅读(32) 评论(0) 推荐(0)
摘要: 题目地址 This time, you are supposed to help us collect the data for family-owned property. Given each person's family members, and... 阅读全文
posted @ 2019-12-25 22:43 vincent's_blog 阅读(24) 评论(0) 推荐(0)