码迷,mamicode.com
首页 >  
搜索关键字:city    ( 3144个结果
天气预报JSON接口
请求:地址 -http://m.weather.com.cn/atad/CITY_CODE.html参数 -城市代码 (见附录)示例 -http://m.weather.com.cn/atad/101070101.html响应:格式 - JSON示例:{ "weatherinfo": { ...
分类:Web程序   时间:2015-07-26 08:36:40    阅读次数:763
题目1437:To Fill or Not to Fill(贪心算法)
题目描述: With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas stations on the way from time to time. Dif...
分类:编程语言   时间:2015-07-24 16:13:03    阅读次数:145
Inspector's Dilemma
In a country, there are a number of cities. Each pair of city is connected by a highway, bi-directional of course. A road-inspector’s task is to trave...
分类:其他好文   时间:2015-07-23 19:11:42    阅读次数:194
【bfs+优先队列】POJ2312-Battle City
【思路】题目中的“可以沿直线发射打破砖墙”可能会迷惑到很多人,实际上可以等价理解为“通过砖墙的时间为2个单位”,这样题目就迎刃而解了。第一次碰到时可能不能很好把握,第二次基本就可以当作水题了。【错误点】1.不能用裸的bfs。广搜的实际思想是将到达时间最短的放在队首,这样首次到达终点即为时间的最小值。...
分类:其他好文   时间:2015-07-22 22:22:31    阅读次数:87
[Usaco2007 Demo][BZOJ1628] City skyline
1628: [Usaco2007 Demo]City skylineTime Limit:5 SecMemory Limit:64 MBSubmit:320Solved:260[Submit][Status][Discuss]DescriptionInput第一行给出N,W第二行到第N+1行:每行给...
分类:其他好文   时间:2015-07-22 18:41:22    阅读次数:92
ZOJ3741 状压DP Eternal Reality
E - Eternal Reality Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3741DescriptionIn Academy City, most ...
分类:其他好文   时间:2015-07-21 20:22:25    阅读次数:93
JavaScript 实现简单二级联动
省份: 请选择 吉林省 辽宁省 山东省 城市: 请选择 document.getElementById("province").onchange=function(){ var city= document.getElementById("city"); var options...
分类:编程语言   时间:2015-07-20 23:41:28    阅读次数:217
fzu 2039 Pets (简单二分图 + (最大流 || 二分图))
Are you interested in pets? There is a very famous pets shop in the center of the ACM city. There are totally m pets in the shop, numbered from 1 to m. One day, there are n customers in the shop, which...
分类:其他好文   时间:2015-07-20 23:38:31    阅读次数:166
Angular指令
一、指令基础指令1、ng-disabled使用ng-disabled可以把disabled属性绑定到以下表单输入字段上: ( text、 checkbox、 radio、 number、 url , email 、 submit); ; Best City: {{ city.name }...
分类:其他好文   时间:2015-07-20 21:29:09    阅读次数:160
pat1003. Emergency (25)
1003. Emergency (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, you are given a special ma...
分类:其他好文   时间:2015-07-20 18:30:29    阅读次数:126
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!