Ice_cream’s world IITime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:212164-bit integer IO format:%I64d Java clas...
分类:
其他好文 时间:
2015-08-26 22:03:35
阅读次数:
161
This page presents some advice regarding adding a JTAG connector to your AVR-based system during design. The Atmel JTAG ICE User's Guide is the defini...
分类:
其他好文 时间:
2015-08-26 17:04:16
阅读次数:
292
传送门Ice Cream ParlorAuthored bydheerajonMar 21 2013Problem StatementSunny and Johnny together haveMdollars they want to spend on ice cream. The parlor ...
分类:
其他好文 时间:
2015-08-21 00:04:34
阅读次数:
221
假设系统为Ubuntu 10.10 64位。先来看看当前的系统默认的java版本,及提供商。通过命令java -versioncaoqitong@ubuntu:~$java -versionjava version "1.6.0_20"OpenJDK Runtime Environment (Ice...
分类:
编程语言 时间:
2015-08-20 01:04:15
阅读次数:
253
人生第一次1A
写完即AC
艾玛高兴坏了
拉个屎冷静一下 = =
#include
#include
#include
#include
#include
#define maxn 1111
#define inf 0xfffffff
using namespace std;
int treedis[maxn];
int dis[maxn][maxn];
bool vex[max...
分类:
其他好文 时间:
2015-08-18 19:42:04
阅读次数:
118
转载请注明出处:王亟亟的大牛之路之前也做过一些用TextView之类的记录ListView选项的东西,但是总觉得好难看,发现个不错的实现就贴给大家。项目目录
运行效果:
自定义视图:@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
public class FlowLayout extends ViewGroup { private...
分类:
移动开发 时间:
2015-08-18 14:19:33
阅读次数:
235
ubuntu 14.04 64位 环境 参考 Cupcake (1.5) Donut (1.6) Eclair (2.0–2.1) Froyo (2.2–2.2.3) Gingerbread (2.3–2.3.7) Honeycomb (3.0–3.2.6) Ice Cream Sandwich (...
分类:
移动开发 时间:
2015-08-17 19:11:16
阅读次数:
156
题目大意:给你N个点,M条有向边,问以哪个点为根结点时,能使最小生成树总权值达到最小,输出总权值和根。
如果构不成最小生成树,另外输出解题思路:这题很巧妙,暴力枚举的话,肯定TLE,所以,这题就需要点技巧了
可以设一个虚根,虚根连接每一个点,权值为所有边的总权值+1。接着,以虚根为根,跑朱刘算法。
跑出结果后,要判断一下,如果最小生成树的总权值比2 * (所有边的总权值+1)还要大,表示虚根至...
分类:
编程语言 时间:
2015-08-17 01:03:01
阅读次数:
167
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudIce ClimberTime Limit:2 Seconds Memory Limit:32768 KBMaybe many one have played or at least heard ofTh...
分类:
其他好文 时间:
2015-08-16 02:05:11
阅读次数:
148
Ice_cream’s world III
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1254 Accepted Submission(s): 414
Problem Description
ice_cre...
分类:
其他好文 时间:
2015-08-13 22:27:21
阅读次数:
127