摘要: A:2016 2016 Given a 2×2 matrix A=(a11a21a12a22), find An where A1=A,An=A×An−1. As the result may be large, you are going to find only the remainder af 阅读全文
posted @ 2016-06-13 19:31 jhz033 阅读(547) 评论(0) 推荐(0)
摘要: Problem C Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Problem Description 度熊手上有一本神奇的字典,你可以在它里面做如下三个操作: 1、insert 阅读全文
posted @ 2016-06-13 18:05 jhz033 阅读(156) 评论(0) 推荐(0)
摘要: 统计难题 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others) Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单 阅读全文
posted @ 2016-06-13 16:48 jhz033 阅读(127) 评论(0) 推荐(0)
摘要: Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Contest time again! How exci 阅读全文
posted @ 2016-06-13 16:37 jhz033 阅读(162) 评论(0) 推荐(0)
摘要: Phone List Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say th 阅读全文
posted @ 2016-06-13 16:28 jhz033 阅读(137) 评论(0) 推荐(0)
摘要: Trie树 Trie树 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。 这一天,他们遇到了一本词典,于是小Hi就向小Ho提出了那个经典的问题:“小 阅读全文
posted @ 2016-06-13 15:40 jhz033 阅读(162) 评论(0) 推荐(0)