原创 1090. Highest Price in Supply Chain (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1090 題目: A supply chain is a network of retailers(零售商), distributor

原创 1089. Insert or Merge (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1089 題目: According to Wikipedia: Insertion sort iterates, consumin

原创 1082. Read Number in Chinese (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1082 題目: Given an integer with no more than 9 digits, you are suppo

原创 1080. Graduate Admission (30)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1080 題目: It is said that in 2013, there were about 100 graduate sch

原创 1085. Perfect Sequence (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1085 題目: Given a sequence of positive integers and another positive

原创 1087. All Roads Lead to Rome (30)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1087 題目: Indeed there are many different tourist routes from our ci

原创 1083. List Grades (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1083 題目: Given a list of N student records with name, ID and grade.

原创 1079. Total Sales of Supply Chain (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1079 題目: A supply chain is a network of retailers(零售商), distributor

原创 1095. Cars on Campus (30)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1095 題目: Zhejiang University has 6 campuses and a lot of gates. Fro

原创 1092. To Buy or Not to Buy (20)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1092 題目: Eva would like to make a string of beads with her favorite

原创 1088. Rational Arithmetic (20)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1088 題目: For two rational numbers, your task is to implement the ba

原创 1091. Acute Stroke (30)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1091 題目: One important factor to identify acute stroke (急性腦卒中) is t

原创 1086. Tree Traversals Again (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1086 題目: An inorder binary tree traversal can be implemented in a n

原创 1084. Broken Keyboard (20)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1084 題目: On a broken keyboard, some of the keys are worn out. So wh

原创 1094. The Largest Generation (25)

題目鏈接:http://www.patest.cn/contests/pat-a-practise/1094 題目: A family hierarchy is usually presented by a pedigree tree