DescriptionGiven an integer N, your task is to judge whether there exist N points in the plane such that satisfy the following conditions:1. The dista...
分类:
其他好文 时间:
2015-05-30 22:28:15
阅读次数:
121
Contains Duplicate II
Given an array of integers and an integer k, return true if and only if there are two distinct indices
i and j in the array such that nums[i] = nums[j] and the difference b...
分类:
其他好文 时间:
2015-05-30 19:53:03
阅读次数:
140
Problem Description
Given a positive integer N, you should output the most right digit of N^N.
Input
The input contains several test cases. The first line of the input is a single integer T...
分类:
Web程序 时间:
2015-05-30 18:19:19
阅读次数:
128
Contains Duplicate IIGiven an array of integers and an integer k, return true if and only if there are two distinct indices i and j in the array such ...
分类:
编程语言 时间:
2015-05-30 16:27:22
阅读次数:
348
Integer to Roman
题目:
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999. 题意:
给于一个整型数字范围在1-3999,将它转化为罗马数字 思路:
将罗马数字用键-值标识出来,转换即可。...
分类:
其他好文 时间:
2015-05-30 13:35:22
阅读次数:
149
"reference" //引用"color" //颜色"boolean" //布尔值"dimension" //尺寸值"float" //浮点值"integer" //整型值"string" //字符串"fraction" //百分数,比如200%枚举型的格式: XML文件中使用:andro...
分类:
移动开发 时间:
2015-05-30 10:33:49
阅读次数:
219
1)sendBuf(),sendText(),sendStream()几乎所有的通信控件都会提供上面的3个方法。首先看看SendBuf()。function TCustomWinSocket.SendBuf(var Buf; Count: Integer): Integer;var ErrorCo....
分类:
其他好文 时间:
2015-05-30 09:15:30
阅读次数:
119
Given an array of integers and an integer k, return true if and only if there are two distinct indices i and j in the array such that nums[i] = nums[j...
分类:
其他好文 时间:
2015-05-30 00:32:33
阅读次数:
141
X-factor Chains
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5659
Accepted: 1786
Description
Given a positive integer X, an X-factor chain of length
...
分类:
其他好文 时间:
2015-05-29 23:15:25
阅读次数:
262
Lowest BitProblem DescriptionGiven an positive integer A (1 2 #include 3 #include 4 using namespace std; 5 int fen(int n) 6 { 7 int i,a; 8 fo...
分类:
其他好文 时间:
2015-05-29 20:18:01
阅读次数:
137