DescriptionYour city hasnjunctions. There aremone-wayroads between the junctions. As a mayor of the city, you have to ensure the security of all the j...
分类:
其他好文 时间:
2014-08-02 15:05:43
阅读次数:
219
Problem 2148 Moon Game
Accept: 386 Submit: 1080
Time Limit: 1000 mSec Memory Limit : 32768 KB
Problem Description
Fat brother and Maze are playing a kind of special (hentai) game in...
分类:
其他好文 时间:
2014-08-02 13:01:13
阅读次数:
224
Description
Georgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right by 1, 2, 3, ..., and place N chessmen on different grid...
分类:
其他好文 时间:
2014-08-02 12:56:13
阅读次数:
312
题目链接:http://poj.org/problem?id=3411题目意思:N个city 由 m 条路连接,对于一条路(假设连接Cityia和 Cityb),如果从Citya 去 Cityb的途中,之前已经走过Cityc(可能会等于a),那么就可以交p的钱,否则之前未走过Cityc,就一定要交r...
分类:
其他好文 时间:
2014-08-02 01:33:23
阅读次数:
209
题意:给出p个数字,使用+,-,*,/,这四个运算符使得最后结果等于n(四个运算符的优先级相同)
思路:回溯+剪枝,不剪枝的话会TLE。用一个标记数组记录在计算的结果。
#include
#include
#include
#include
#include
using namespace std;
const int MAXN = 32000;
const in...
分类:
其他好文 时间:
2014-08-01 23:19:12
阅读次数:
277
倍增法在线LCA.....
ZOJ Problem Set - 3195
Design the city
Time Limit: 1 Second Memory Limit: 32768 KB
Cerror is the mayor of city HangZhou. As you may know, the traffic system of thi...
分类:
其他好文 时间:
2014-08-01 23:07:52
阅读次数:
321
Brave GameTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6434Accepted Submission(s): 4294Problem ...
分类:
其他好文 时间:
2014-08-01 22:53:22
阅读次数:
194
在2014 Esri UC上,Esri邀请不少用户到场分享了自己企业的案例,在这里与大家进行分享。
一、City of Mineapolis
1、案例背景
Mineapolis市使用GIS已经数十年,有专门的GIS团队。GIS数据分散存放于城市各个部门中,用户通过桌面软件维护和更新自己的数据。这些年GIS团队一直致力于数据集中和数据标准化,并创建许多企业级应用试图满足各部门的业务需求,但是没...
分类:
其他好文 时间:
2014-08-01 13:41:40
阅读次数:
240
Greedy, Greedy, Greedy.. It is all about maximum interval update.One trick is, we start looping over each element from the one nearest to end to farth...
分类:
其他好文 时间:
2014-08-01 13:32:21
阅读次数:
283
A simulation problem. We simple walk through all reachable items until we cannot proceed.class Solution {public: bool canJump(int A[], int n) { ...
分类:
其他好文 时间:
2014-08-01 13:16:01
阅读次数:
180