链接:http://poj.org/problem?id=2421 或 http://acm.hdu.edu.cn/showproblem.php?pid=1102
Problem Description
There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:
其他好文 时间:
2014-05-10 09:34:09
阅读次数:
389
写在前面
这一篇我个人认为还是很常用的,一开始也是实习的时候学到的,所以我觉得实习真的是一个快速学习工程技巧的途径。
提醒:这篇教程比较复杂,如果你不熟悉NGUI、iTween、C#的回调函数机制,那么这篇文章可能对你比较有难度,当然你可以挑战自我。
言归正传,消息框,也就是Message Box,在Windows下很常见,如下图:
在游戏里...
分类:
其他好文 时间:
2014-05-10 09:23:56
阅读次数:
491
看代码declare @iid intselect @iid=111select top 1
@iid=isnull(IID,0) from YYGL_PCDMX where IID=0print
@iid上面的情况,如果iid=0没有记录,则@iid会取111,为了避免这个问题1、在查询前,初始化...
分类:
数据库 时间:
2014-05-08 20:13:13
阅读次数:
438
练习题(这里贴的是自己写的代码,
网上给的题目代码我会附加在最下面)1.编写shell脚本,计算1-100的和; 1 #!/bin/bash 2 #caculate the sum of
numbers from 1 to 100 3 4 sum=0 5 for i in `seq 1 100`;....
分类:
其他好文 时间:
2014-05-07 19:34:54
阅读次数:
305
Select Top在不同数据库中的使用用法:1. Oracle数据库 SELECT * FROM
TABLE1 WHERE ROWNUM<=N2. Infomix数据库 SELECT FIRST N * FROM TABLE13. DB2数据库
SELECT * ROW_NUMBER() OVER...
分类:
数据库 时间:
2014-05-07 19:12:48
阅读次数:
366
SQL Server获取指定行(如第二行)的数据--SQL
Server获取指定行(如第二行)的数据----法一(对象法)--select * from(select * , number = row_number()
over(orderby Grade desc) from Students)m...
分类:
数据库 时间:
2014-05-07 18:41:48
阅读次数:
517
MySQL中表之间的链接语句:关键词:INNER JOIN格式:SELECT 列名表 FROM
表名1 [INNER] JOIN 表名2 ON或WHERE条件表达式
分类:
数据库 时间:
2014-05-07 09:08:18
阅读次数:
342
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
一、逻辑查询处理的各个阶段
(5)SELECT DISTINCT TOP()
(1)FROM JOIN ON
(2)WHERE
(3)GROUP BY
(4)HAVING
(6)ORDER BY
上边语句是一个普通格式的查询语句,基本包含了所有的查询条件和关键字。你可能会发现前边的序号并不是按顺序来的,被你说对了,这...
分类:
数据库 时间:
2014-05-07 08:26:11
阅读次数:
476
今天打算做两道半平面交,一题卡太久了,心都碎了。。。#pragma
warning(disable:4996)#include #include #include #include #include #include
#include using namespace std;#define maxn...
分类:
其他好文 时间:
2014-05-06 12:27:57
阅读次数:
389