Kaka's Matrix Travels
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7802
Accepted: 3138
Description
On an N × N chessboard with a non-negative number in ...
分类:
其他好文 时间:
2014-08-21 21:15:18
阅读次数:
300
原题:
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input...
分类:
其他好文 时间:
2014-08-21 19:30:24
阅读次数:
225
Drawable以下这个是测试加载1000个Drawable对象的代码:public class Main extends Activity{ int number = 1000; Drawable[] array; @Override public void onCrea...
分类:
其他好文 时间:
2014-08-21 19:14:14
阅读次数:
187
/*Prime Cuts
Description
A prime number is a counting number (1, 2, 3, ...) that is evenly divisible only by 1 and itself. In this problem you are to write a program that will cut some number of pri...
分类:
其他好文 时间:
2014-08-21 17:14:24
阅读次数:
283
1.创建表CREATE TABLE emp_test (ID NUMBER(5,2) PRIMARY KEY, NAME VARCHAR2(20) UNIQUE, BIRTHDAY DATE);--修改表名ALTER TABLE emp_test RENAME TO TEST1;--修改表列名Alt...
分类:
数据库 时间:
2014-08-21 16:30:24
阅读次数:
336
题目 Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the University of Wa...
分类:
其他好文 时间:
2014-08-21 15:22:24
阅读次数:
237
题目链接:http://poj.org/problem?id=1423思路:如果用普通方法做肯定会超时,数据也存不下,只能用数学方法来优化。这里用到了斯特林公式。秒出~~公式为 n! = log10(sqrt(2*pi*n)) + n * log10(n/e)这个公式只能求出n!的估算值,这里还需要...
分类:
其他好文 时间:
2014-08-21 14:45:24
阅读次数:
162
在JavaScript中,数值转换一般有三种方式: 一、Number(param)函数:param可以用于任何数据类型 1.1 param是Boolean值,true和false分别转换为1和0; 1.2 param是数值,只是简单的传入和返回 1.3 param是null和undefined...
分类:
编程语言 时间:
2014-08-21 14:35:04
阅读次数:
162
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2673拍两次序,交替输出 1 #include 2 #include 3 #include 4 using namespace std; 5 #define MAX_NUMBER 10000 6 bool...
分类:
其他好文 时间:
2014-08-21 13:20:34
阅读次数:
176
Minimizing the overall power conservation in a symmetric multiprocessor system disposed in a system-on-chip (SoC) depends on using voltage islands ope...
分类:
其他好文 时间:
2014-08-21 13:02:34
阅读次数:
218