上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 49 下一页
摘要: A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商) everyone involved in moving a product from supplier to customer. 阅读全文
posted @ 2018-02-04 16:39 A-Little-Nut 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one ele 阅读全文
posted @ 2018-02-04 16:01 A-Little-Nut 阅读(134) 评论(0) 推荐(0) 编辑
摘要: For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient. Input Sp 阅读全文
posted @ 2018-02-04 15:52 A-Little-Nut 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with the least cost while gainin 阅读全文
posted @ 2018-02-04 13:29 A-Little-Nut 阅读(139) 评论(0) 推荐(0) 编辑
摘要: An inorder binary tree traversal can be implemented in a non recursive way with a stack. For example, suppose that when a 6 node binary tree (with the 阅读全文
posted @ 2018-02-04 10:00 A-Little-Nut 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M 10 8 2 3 20 4 5 1 6 7 8 9 S 阅读全文
posted @ 2018-02-03 15:55 A-Little-Nut 阅读(150) 评论(0) 推荐(0) 编辑
摘要: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc 阅读全文
posted @ 2018-02-03 15:28 A-Little-Nut 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non increasing order, and 阅读全文
posted @ 2018-02-03 15:20 A-Little-Nut 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For exam 阅读全文
posted @ 2018-02-03 12:45 A-Little-Nut 阅读(256) 评论(0) 推荐(0) 编辑
摘要: ``` int gcd(int a, int b){ return a%b==0?b:gcd(b,a%b); } ``` 阅读全文
posted @ 2018-02-03 11:23 A-Little-Nut 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 49 下一页