Network of SchoolsTime Limit:1000MSMemory Limit:10000KTotal Submissions:11441Accepted:4554DescriptionA number of schools are connected to a computer n...
分类:
其他好文 时间:
2014-10-05 20:32:18
阅读次数:
170
静态区间第K小....划分树裸题
Kth number
Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5341 Accepted Submission(s): 1733
Problem Descrip...
分类:
其他好文 时间:
2014-10-05 20:15:18
阅读次数:
258
Rabbit Number
枚举
【问题描述】
设 S(N)表示 N 的各位数字之和,如 S(484)=4+8+4=16,S(22)=2+2=4。如果一个正整数 x满足 S(x*x)=S(x)*S(x),我们称 x 为 Rabbit Number。比方说,22 就是一个 Rabbit Number,...
分类:
其他好文 时间:
2014-10-05 18:56:58
阅读次数:
185
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2014-10-05 16:48:38
阅读次数:
193
题目:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep...
分类:
其他好文 时间:
2014-10-05 15:11:48
阅读次数:
206
Kaka's Matrix Travels
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8006
Accepted: 3204
Description
On an N × N chessboard with a non-negative number i...
分类:
其他好文 时间:
2014-10-05 11:40:38
阅读次数:
281
--建表SQL> create table TBook(bookId number(8),bookName varchar2(50),publishHouse varchar2(50));--编写过程--in:输入参数;out:输出参数SQL> create or replace procedure...
分类:
数据库 时间:
2014-10-04 21:56:27
阅读次数:
243
题意 : 给你一棵树 , 树的每个结点都有一个权值 , 问你有多少条路径权值的乘积是一个完全立方数 。
题目中给了你 K 个素数 ( K
思路 : 一个完全立方数的素因子个数都是三的倍数 , 所以我们只要求各个素数的个数就行了 , 并且我们只关心个数对三的余数
所以我们可以用一个 长整形来表示每个结点到根的各个素因子的个数( 三进制压缩 ) 。不过因为用位运算会快一点 , 所以我用...
分类:
其他好文 时间:
2014-10-04 21:29:57
阅读次数:
150
hdu4727:http://acm.hdu.edu.cn/showproblem.php?pid=4727题意:给你一个序列,每个数比前面一个数大一。如果不是大一,则输出这个位子,如果都是大一,则输出1.题解:水题。 1 #include 2 #include 3 #include 4 #incl...
分类:
其他好文 时间:
2014-10-04 19:07:37
阅读次数:
177
DECLARE
l_num_user_id NUMBER;
l_num_appl_id NUMBER;
l_num_resp_id NUMBER;
cust_account_rec_type hz_cust_account_v2pub.cust_account_rec_type;
l_num_ob...
分类:
其他好文 时间:
2014-10-04 15:42:06
阅读次数:
201