Try Again
摘要: 字典树通过链表来建树,可以删除,可以通过前缀来查找字典序里的已存的单词。 当一个单词结束时,标记成不同的颜色。 创建结点 插入新单词 前缀查询 释放内存 查询一个单词是否已经存在 阅读全文
posted @ 2017-07-03 20:37 十年换你一句好久不见 阅读(131) 评论(0) 推荐(0) 编辑
摘要: It has been said that a watch that is stopped keeps better time than one that loses 1 second per day. The one that is stopped reads the correct time t 阅读全文
posted @ 2017-07-03 20:05 十年换你一句好久不见 阅读(161) 评论(0) 推荐(0) 编辑
摘要: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=1282 Solve the equation:p∗e−x + q∗sin(x) 阅读全文
posted @ 2017-07-03 19:05 十年换你一句好久不见 阅读(160) 评论(0) 推荐(0) 编辑
摘要: A palindrome is a word, number, or phrase that reads the same forwards as backwards. For example, the name “anna” is a palindrome. Numbers can also be 阅读全文
posted @ 2017-07-03 18:26 十年换你一句好久不见 阅读(378) 评论(0) 推荐(0) 编辑
摘要: A. Watchmen time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output A. Watchmen time limit per t 阅读全文
posted @ 2017-07-03 18:18 十年换你一句好久不见 阅读(220) 评论(0) 推荐(0) 编辑