Largest palindrome product
Problem 4
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest p...
分类:
编程语言 时间:
2015-01-27 09:34:40
阅读次数:
223
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, w...
分类:
编程语言 时间:
2015-01-27 09:28:10
阅读次数:
160
1.not in方法select top 10 from books where id not in(select top 30 id from books)2.row_number()函数select * from (select *,row_number() over (order by id)...
分类:
数据库 时间:
2015-01-27 09:15:01
阅读次数:
145
这里只列出比较常用的参数,详细的请查看man iptables1、查看iptables -nvL –line-number-L查看当前表的所有规则,默认查看的是filter表,如果要查看NAT表,可以加上-t NAT参数。-n不对ip地址进行反查,加上这个参数显示速度会快很多。-v输出详细信息,包含...
分类:
系统相关 时间:
2015-01-27 00:33:14
阅读次数:
193
ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern i...
分类:
其他好文 时间:
2015-01-27 00:30:10
阅读次数:
202
今日有针对NULL值有了相关实验. 对NULL 值插入的讨论.1, PL/SQL 中可以执行插入''或者NULL 的操作, 前提是栏位允许为空.2, 可以对NULL进行一系列数据库运算. 如: SELECTROUND(TO_NUMBER(MAX(A.IN_STATION_TIME)-SYSDATE)...
分类:
数据库 时间:
2015-01-27 00:12:24
阅读次数:
239
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2015-01-27 00:10:41
阅读次数:
257
// hdu 1023// number theory - catalan number// Jan.26 2015#include #include #include #define MAXN 60struct rev{ int num[MAXN]; int l; // when...
分类:
其他好文 时间:
2015-01-27 00:06:47
阅读次数:
244
uva 575 Skew Binary
When a number is expressed in decimal, the k-th digit represents a multiple of 10k. (Digits are numbered from right to left, where the least significant digit is number 0.) ...
分类:
其他好文 时间:
2015-01-26 23:01:06
阅读次数:
373
Smallest multiple
Problem 5
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is evenly di...
分类:
编程语言 时间:
2015-01-26 22:49:54
阅读次数:
289