![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
浙大PAT考试
文章平均质量分 83
DeciWine
这个作者很懒,什么都没留下…
展开
-
2017.3.4 pat甲级D题ZigZagging on a Tree
ZigZagging on a Tree时间限制 400 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 CHEN, YueSuppose that all the keys in a binary tree are distinct positive原创 2017-03-11 13:08:15 · 490 阅读 · 0 评论 -
2017.3.4 pat甲级B题Chain the Ropes
2017.3.2 pat甲级B题Chain the Ropes (25)时间限制 200 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 CHEN, YueGiven some segments of rope, you are supposed原创 2017-03-09 23:28:04 · 313 阅读 · 0 评论 -
2017浙江大学计算机和软件考研复试题A题 N Queens Puzzle
The "eight queens puzzle" is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row,原创 2017-03-15 22:20:03 · 433 阅读 · 0 评论 -
2017浙江大学计算机和软件考研复试题C题 Infix Expression
Given a syntax tree (binary), you are supposed to output the corresponding infix expression, with parentheses reflecting the precedences of the operators.Input Specification:Each input file contai原创 2017-03-16 00:26:32 · 1072 阅读 · 0 评论 -
甲级PATA1059 Prime Factors
Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km.Input Specification:Each input file contains one test case原创 2017-04-18 20:51:43 · 319 阅读 · 0 评论 -
甲级PATA1138 Postorder Traversal
Suppose that all the keys in a binary tree are distinct positive integers. Given the preorder and inorder traversal sequences, you are supposed to output the first number of the postorder traversal se原创 2017-12-28 11:24:03 · 222 阅读 · 0 评论