题意:一个如果称作是漂亮数,当且仅当满足:每一位上的数字是【1,9】,从高到时低数字大小降序,且有di%dj=0(iwei){ ++ans; return; } if(pos==1){ if(state){ rep(i,1,...
分类:
其他好文 时间:
2015-03-03 21:57:14
阅读次数:
158
水题,验证压代码能力。。。#include#includeint main(){ int n,x,y; scanf("%d",&n); while(n--){ scanf("%d%d",&x,&y); if (x!=y&&x-2!=y) ...
分类:
其他好文 时间:
2015-03-03 20:34:29
阅读次数:
108
SELECT table_name,fk_name,reference_table_name,fk_list_number,fk_detailFROM (SELECT object_name(f.object_id) AS fk_name,object_name(f.parent_object_id...
分类:
数据库 时间:
2015-03-03 20:20:26
阅读次数:
165
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} is 15. The...
分类:
其他好文 时间:
2015-03-03 18:41:32
阅读次数:
144
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 dig...
分类:
其他好文 时间:
2015-03-03 18:41:14
阅读次数:
133
hdu5179 beautiful number...
分类:
其他好文 时间:
2015-03-03 16:46:02
阅读次数:
144
数据库的设计文档
数据库的设计文档,需要建表的sql语句。
1)
account 账务账户
id number(9) PK 账务账户ID
login_name varchar2(20)not null
用户自服务用户名
login_passwd varchar2(8) not null
用户自服务密码
status char(1) not null 0:开通 1:...
分类:
数据库 时间:
2015-03-03 15:16:22
阅读次数:
258
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2015-03-03 14:57:57
阅读次数:
165
进行了第一章的基本数据操作指令练习后,进行数据库的一些操作。 创建表class有两个栏:numbers和names: create table class (numbers number, names char(20)); 这样建名都是大写的了,不想这样就加上“”双引号...
分类:
数据库 时间:
2015-03-03 13:46:37
阅读次数:
202
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} is 15. The...
分类:
其他好文 时间:
2015-03-03 13:43:53
阅读次数:
168