方法:十进制转十六进制-------除十六取余倒排十进制转二进制--------除二取余倒排void Convert(long Input ,char *output){ vector v; int te; while(Input){ int te = Input%1...
分类:
其他好文 时间:
2014-09-12 18:45:43
阅读次数:
248
Problem A
The Most Distant State
Input: standard input
Output: standard output
The 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square is uncovered. Eac...
分类:
其他好文 时间:
2014-09-12 17:16:43
阅读次数:
203
DECLARE @name NVARCHAR(30), @sql NVARCHAR(300)set @sql= N'SELECT TOP 1 @n=EmpName from dbo.Emp'exec sp_executesql @sql, N'@n nvarchar(30) output', @n....
分类:
数据库 时间:
2014-09-12 16:52:13
阅读次数:
220
一般来说在header函数前不能输出html内容,类似的还有setcookie() 和 session 函数,这些函数需要在输出流中增加消息头部信息。如果在header()执行之前有echo等语句,当后面遇到header()时,就会报出 “Warning: Cannot modify header ...
分类:
其他好文 时间:
2014-09-12 16:48:03
阅读次数:
131
#includeint main(){ char *p[2][1] = {"Hello","Tencent"}; printf("%s\n",*(*p+1)+1); return 0;}output:encent
分类:
其他好文 时间:
2014-09-12 16:44:43
阅读次数:
115
Morley’s
Theorem
Input: Standard Input
Output: Standard Output
Morley’s theorem states that that the lines trisecting the angles of an arbitrary plane triangle meet at the vertices of an equilat...
分类:
其他好文 时间:
2014-09-12 15:07:13
阅读次数:
184
我的日记本程序日记列表存储过程分页--drop proc procDiarycreate proc procDiary --获取日记列表的分页存储过程 @pageSize int =12, -- @pageIndex int=1, --页码序号 @totalCount int output, --总...
分类:
其他好文 时间:
2014-09-11 22:09:52
阅读次数:
158
搜索....
Machine
Time Limit: 2 Seconds Memory Limit: 65536 KB
In a typical assembly line, machines are connected one by one. The first machine's output product will be the second mac...
分类:
其他好文 时间:
2014-09-11 20:59:42
阅读次数:
186
1 /* 2 题意:给出立方体的每个顶点的坐标(是由源坐标三个数某几个数被交换之后得到的!), 3 问是否可以还原出一个立方体的坐标,注意这一句话: 4 The numbers in the i-th output line must be a permutation o...
分类:
其他好文 时间:
2014-09-11 16:56:02
阅读次数:
157
1.没有参数的存储过程create or replace procedure get_timeas cur_time varchar2(10);begin select to_char(sysdate,'yyyymmdd') into cur_time from dual; dbms_output....
分类:
其他好文 时间:
2014-09-10 17:23:40
阅读次数:
211