摘要:
PAT (Advanced Level) Practice 1053 Path of Equal Weight (30 分) 凌宸1642 题目描述: Given a non-empty tree with root R, and with weight Wi assigned to each tr 阅读全文
摘要:
PAT (Advanced Level) Practice 1050 String Subtraction (20 分) 凌宸1642 题目描述: Given two strings S1 and S2, S=S1−S2 is defined to be the remaining string a 阅读全文
摘要:
PAT (Advanced Level) Practice 1046 Shortest Distance (20 分) 凌宸1642 题目描述: The task is really simple: given N exits on a highway which forms a simple cy 阅读全文
摘要:
PAT (Advanced Level) Practice 1042 Shuffling Machine (20 分) 凌宸1642 题目描述: Shuffling is a procedure used to randomize a deck of playing cards. Because s 阅读全文
摘要:
PAT (Advanced Level) Practice 1041 Be Unique (20 分) 凌宸1642 题目描述: Being unique is so important to people on Mars that even their lottery is designed in 阅读全文
摘要:
PAT (Advanced Level) Practice 1035 Password (20 分) 凌宸1642 题目描述: To prepare for PAT, the judge sometimes has to generate random passwords for the users 阅读全文
摘要:
PAT (Advanced Level) Practice 1031 Hello World for U (20 分) 凌宸1642 题目描述: Given any string of N (≥5) characters, you are asked to form the characters i 阅读全文