Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N.InputThe input contains several test cases. The first lin...
分类:
Web程序 时间:
2015-04-09 23:45:07
阅读次数:
145
Collection子接口:
---list接口(元素有序的可以重复)又称为“动态数组”
---vector(古老的实现类)特点是线程安全的(不管怎么样就是不用这个了)
---arrayList(List的主要实现类)(底层是用数组实现的)
---linkedList(底层是用链表实现的)(对于频繁的插入和删除操作建议选择这个)
contains(...
分类:
编程语言 时间:
2015-04-09 13:53:25
阅读次数:
217
1 javase提供的容器api位于java.util包内2 容器API的类图结构如下 3 Collection接口定义了一组存取对象的方法 a里面装的必须都是object,不能存值类型。 bremove,contains等方法,使用equals方法比较的。如果是作为键的时候,则使用hashC...
分类:
编程语言 时间:
2015-04-09 13:42:11
阅读次数:
181
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains one tes...
分类:
其他好文 时间:
2015-04-08 23:00:35
阅读次数:
247
Wait Until Keyword Succeeds 10s 1s Click Element jQuery=span:contains('上传') sleep 2s Win Wait ${title} Win Activate ${title} log ${fileNam...
分类:
Web程序 时间:
2015-04-08 21:29:02
阅读次数:
3116
dependency analysis warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'xxx/Info.plist'.
出现Warning的原因
遇到这种情况,是因为在合成项目,或者添加项目文件时,将Info.plist 文件以下列方式加入到了项目中。...
分类:
其他好文 时间:
2015-04-07 17:51:10
阅读次数:
162
The set [1,2,3,...,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order, We get the following sequen...
分类:
其他好文 时间:
2015-04-07 13:24:49
阅读次数:
117
KMP算法讲解
我的Java代码实现
package jj4_6;
public class KMP {
public static boolean contains(String a,String b){
/*
* 第一步,对b字符串做一个预处理
*/
Integer[] fuzhu = new Integer[b.length()];
for...
分类:
编程语言 时间:
2015-04-06 18:47:19
阅读次数:
134
Given a string which contains only letters. Sort it by lower case first and upper case second.NoteIt's not necessary to keep the original order of low...
分类:
其他好文 时间:
2015-04-06 10:04:22
阅读次数:
225
题目:Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains one ...
分类:
其他好文 时间:
2015-04-05 20:12:55
阅读次数:
168