PAT(A) 1088. Rational Arithmetic (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1088

1088. Rational Arithmetic (20)


For two rational numbers, your task is to implement the basic arithmetics

PAT(A) 1087. All Roads Lead to Rome (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1087

1087. All Roads Lead to Rome (30)


Indeed there are many different tourist routes from our city to Rome.

PAT(A) 1086. Tree Traversals Again (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1086

1086. Tree Traversals Again (25)


An inorder binary tree traversal can be implemented in a non-recursive

PAT(A) 1085. Perfect Sequence (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1085

1085. Perfect Sequence (25)


Given a sequence of positive integers and another positive integer p. The

PAT(A) 1084. Broken Keyboard (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1084

Broken Keyboard (20)


Weibo is known as the Chinese version of Twitter. One user on Weibo may have

PAT(A) 1076. Forwards on Weibo (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1076

1076. Forwards on Weibo (30)


Weibo is known as the Chinese version of Twitter. One user on Weibo may have

PAT(A) 1075. PAT Judge (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1075

1075. PAT Judge (25)


The ranklist of PAT is generated from the status list, which shows the scores

PAT(A) 1074. Reversing Linked List (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1074

1074. Reversing Linked List (25)


Given a constant K and a singly linked list L, you are supposed to

PAT(A) 1073. Scientific Notation (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1073

1073. Scientific Notation (20)


Scientific notation is the way that scientists easily handle very large

PAT(A) 1072. Gas Station (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1072

1072. Gas Station (30)


A gas station has to be built at such a location that the minimum distance between