码迷,mamicode.com
首页 >  
搜索关键字:city    ( 3144个结果
poj 1703 Find them, Catch them(并查集)
DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Ga...
分类:其他好文   时间:2015-08-30 14:16:53    阅读次数:126
Linq中where查询
Linq的Where操作包括3种形式:简单形式、关系条件形式、First()形式。1.简单形式:例:使用where查询在北京的客户var q =from c in db.Customerswhere c.City == "beijing"select c;再如:筛选1994 年或之后雇用的雇员:va...
分类:其他好文   时间:2015-08-29 18:30:34    阅读次数:214
CSU 1333: Funny Car Racing(SPFA)13年省赛题
1333: Funny Car Racing Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 482  Solved: 116 [Submit][Status][Web Board] Description There is a funny car racing in a city with n junctions and m di...
分类:其他好文   时间:2015-08-25 21:40:23    阅读次数:195
[转载] ORACLE 多表关联 UPDATE 语句
为了方便起见,建立了以下简单模型,和构造了部分测试数据:在某个业务受理子系统BSS中,SQL 代码1 --客户资料表2 create table customers3 (4 customer_id number(8) not null, -- 客户标示5 city_name varchar2(10)...
分类:数据库   时间:2015-08-25 13:24:17    阅读次数:176
HDU 1031.Design T-Shirt【结构体二次排序】【8月21】
Design T-Shirt Problem Description Soon after he decided to design a T-shirt for our Algorithm Board on Free-City BBS, XKA found that he was trapped by all kinds of suggestions from everyone o...
分类:编程语言   时间:2015-08-21 21:37:54    阅读次数:246
SQLite Expert表分离和解决SQLite Expert删除表后大小不变的问题
最后要使用到号码归属地的查询,在网上找到一个数据库文件,大小有12M多,压缩成zip也有1.9M,这样对于一个apk的大小非常不利,后来看了一下数据库的内容,发现有很多冗余,特别是中文字符占用很大的空间,在网上找了一种方法把一个表进行分离,分成两个表,两个表之间可以使用外键的形式进行关联。这里用到的几个表名:tb_city、mob_location、tb_mobile,最终是要把表mob_loca...
分类:数据库   时间:2015-08-21 15:49:34    阅读次数:159
蚁群算法求解旅行商问题(附c和matlab源代码)
前几天写了个模拟退火算法的程序,然后又陆陆续续看了很多群智能算法,发现很多旅行商问题都采用蚁群算法来求解,于是开始写蚁群算法的模板。网上关于蚁群算法的理论很多就不再这里赘述了,下面直接上代码和进行简单的比较。 c代码:1 #ifndef _CITY_H2 #define _CITY_H3 stru....
分类:编程语言   时间:2015-08-21 15:21:15    阅读次数:443
poj 2503 哈希 Map
Babelfish Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 36967   Accepted: 15749 Description You have just moved from Waterloo to a big city. The people here ...
分类:其他好文   时间:2015-08-21 13:46:24    阅读次数:127
Light oj 1251 - Forming the Council 【2-sat】【判断是否存在可行解 + 反向拓扑输出可行解】
1251 - Forming the Council PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB In a city there are n voters, and m people formed the Go...
分类:其他好文   时间:2015-08-21 09:31:54    阅读次数:312
PAT 1003. Emergency (25)
1003. Emergency (25)As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities ...
分类:其他好文   时间:2015-08-20 18:36:57    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!