博客主页 所有文章 标签 关于我
img

Grimxiaojun

将成为优秀程序员的我

王小俊

个人站

欢迎来到我的个人站~


  • 博客主页
  • 所有文章
  • 标签
  • 关于我
  1. Pat 甲级 训练真题集 1069!

    1069. The Black Hole of Numbers (20)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueFor any 4-digit integer except the ones with all the digits being the same, if we sort the digi...…

    2017-02-20
    阅读全文 »

  2. Pat 甲级 训练真题集 1067!

    1067. Sort with Swap(0,*) (25)​ 时间限制​ 150 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueGiven any permutation of the numbers {0, 1, 2,…, N-1}, it is easy to sort them in increasing order. ...…

    2017-02-17
    阅读全文 »

  3. Pat 甲级 训练真题集 1066!

    1066. Root of AVL Tree (25)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueAn AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtre...…

    2017-02-16
    阅读全文 »

  4. Pat 甲级 训练真题集 1065!

    1065. A+B and C (64bit) (20)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ HOU, QimingGiven three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C.Input Spe...…

    2017-02-16
    阅读全文 »

  5. Pat 甲级 训练真题集 1064!

    1064. Complete Binary Search Tree (30)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has the following pr...…

    2017-02-16
    阅读全文 »

  6. Pat 甲级 训练真题集 1123!

    1123. Is It a Complete AVL Tree (30)​ 时间限制​ 400 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueAn AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two chi...…

    2017-02-15
    阅读全文 »

  7. Pat 甲级 训练真题集 1099!

    1099. Build A Binary Search Tree (30)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has the following pro...…

    2017-02-13
    阅读全文 »

  8. Pat 甲级 训练真题集 1098!

    1098. Insertion or Heap Sort (25)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueAccording to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and g...…

    2017-02-13
    阅读全文 »

  9. Pat 甲级 训练真题集 1097!

    1097. Deduplication on a Linked List (25)​ 时间限制​ 300 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueGiven a singly linked list L with integer keys, you are supposed to remove the nodes with ...…

    2017-02-12
    阅读全文 »

  10. Pat 甲级 训练真题集 1096!

    1096. Consecutive Factors (20)​ 时间限制​ 400 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueAmong all the factors of a positive integer N, there may exist several consecutive numbers. For exam...…

    2017-02-12
    阅读全文 »

  11. Pat 甲级 训练真题集 1094!

    1094. The Largest Generation (25)​ 时间限制​ 200 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueA family hierarchy is usually presented by a pedigree tree where all the nodes on the same level b...…

    2017-02-12
    阅读全文 »

  12. Pat 甲级 训练真题集 1093!

    1093. Count PAT’s (25)​ 时间限制​ 120 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CAO, PengThe string APPAPT contains two PAT’s as substrings. The first one is formed by the 2nd, the 4th, and the 6th...…

    2017-02-12
    阅读全文 »

  13. Pat 甲级 训练真题集 1092!

    1092. To Buy or Not to Buy (20)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueEva would like to make a string of beads with her favorite colors so she went to a small shop to buy...…

    2017-02-11
    阅读全文 »

  14. Pat 甲级 训练真题集 1086!

    1086. Tree Traversals Again (25)​ 时间限制​ 200 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueAn inorder binary tree traversal can be implemented in a non-recursive way with a stack. For examp...…

    2017-02-11
    阅读全文 »

  15. Pat 甲级 训练真题集 1084!

    1084. Broken Keyboard (20)​ 时间限制​ 200 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueOn a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters cor...…

    2017-02-11
    阅读全文 »

  16. Pat 甲级 训练真题集 1059!

    1059. Prime Factors (25)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ HE, QinmingGiven any positive integer N, you are supposed to find all of its prime factors, and write them in the fo...…

    2017-02-11
    阅读全文 »

  17. Pat 甲级 训练真题集 1113!

    1113. Integer Set Partition (25)​ 时间限制​ 150 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, Yue Given a set of N (> 1) positive integers, you are supposed to partition them into tw...…

    2017-02-10
    阅读全文 »

  18. Pat 甲级 训练真题集 1058!

    1058. A+B in Hogwarts (20)​ 时间限制​ 50 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueIf you are a fan of Harry Potter, you would know the world of magic has its own currency system – as Hagri...…

    2017-02-10
    阅读全文 »

  19. Pat 甲级 训练真题集 1054!

    1054. The Dominant Color (20)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueBehind the scenes in the computer’s memory, color is always talked about as a series of 24 bits of inf...…

    2017-02-10
    阅读全文 »

  20. Pat 甲级 训练真题集 1053!

    1053. Path of Equal Weight (30)​ 时间限制​ 100 ms​ 内存限制​ 65536 kB​ 代码长度限制​ 16000 B​ 判题程序​ Standard​ 作者​ CHEN, YueGiven a non-empty tree with root R, and with weight Wi assigned to each tree node Ti. The weight of...…

    2017-02-10
    阅读全文 »


← 最近 6 / 8 更早 →
  • Weibo
  • Github
  • RSS
  • Email

Copyright © 王小俊 2018 Theme by leopardpan |

本站总访问量 次