2012年8月28日

pat 1019 General Palindromic Number

摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers.Although palindromic numbers are most often considered in the decimal system, the concept of palind 阅读全文

posted @ 2012-08-28 20:56 DerDeath 阅读(720) 评论(0) 推荐(0) 编辑

PAT 1020 Tree Traversals

摘要: 1020. Tree Traversals (25)时间限制 400 ms内存限制 32000 kB代码长度限制 16000 B判题程序 StandardSuppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level order traversal sequence of the corresponding bi... 阅读全文

posted @ 2012-08-28 13:19 DerDeath 阅读(1146) 评论(0) 推荐(0) 编辑

导航

"); }); },1000); });