码迷,mamicode.com
首页 >  
搜索关键字:can you dfs    ( 55632个结果
HDU 1102 && POJ 2421 Constructing Roads (经典MST~Prim)
链接: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
使用java来创建和遍历图,包括(深度遍历DFS,广度遍历BFS)...
分类:其他好文   时间:2014-05-10 08:50:55    阅读次数:374
利用PHPExcel转Excel柱形图
这在附另一个转柱形图的效果及代码. 原PHP报表效果: 转成Excel后的效果: 附上代码: <?php /** * PHPExcel * * Copyright (C) 2006 - 2014 PHPExcel * * This library is free software; you can redistribute it and/or * modify ...
分类:Web程序   时间:2014-05-10 02:19:56    阅读次数:553
开发问题解决志
2014.5.5 获取客户端真实ip地址出现问题,解答如下: When you have NAT (Network Address Translation) device before your servlet containerrequest.getRemoteAddr()returns the....
分类:其他好文   时间:2014-05-07 19:02:49    阅读次数:261
stm32之can总线过滤器研究
stm32的can总线的配置如下: CAN_InitStructure.CAN_TTCM=DISABLE;//禁止时间触发通信模式 CAN_InitStructure.CAN_ABOM=DISABLE; CAN_InitStructure.CAN_AWUM=DISABLE; CAN_InitStru...
分类:其他好文   时间:2014-05-07 18:22:18    阅读次数:377
杭电acm 1034题
Problem DescriptionA number of students sit in a circle facing their teacher in the center. Each student initially has an even number of pieces of can...
分类:其他好文   时间:2014-05-07 17:53:27    阅读次数:499
android text
"@you bang--- go on -------"需要做分享内容,前面有段格式固定写死,同时颜色为灰色;后面的内容可以编辑,颜色为黑色,同时支持多行有人用textview做固定格式,edittext做可编辑部分;如果是单行,感觉还没多大问题,但多行,第二行起始位置就无法控制了。1.字体部分颜色...
分类:移动开发   时间:2014-05-07 17:37:11    阅读次数:493
水题~~~~HDU 4788
Description Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk drive (HDD) as a gift because you will get married next year. But yo....
分类:其他好文   时间:2014-05-07 10:04:47    阅读次数:382
水题一枚
Description Given a code (not optimized), and necessary inputs, you have to find the output of the code for the inputs. The code is as follows: int a,...
分类:其他好文   时间:2014-05-07 09:56:16    阅读次数:310
Leetcode: Reverse Integer
一次通过,它的spoiler里面的提示有两个:1. 末尾为0的情况,这个考虑到了2.Did you notice that the reversed integer might overflow? Assume the input is a 32-bit integer, then the reve...
分类:其他好文   时间:2014-05-06 11:10:45    阅读次数:356
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!