码迷,mamicode.com
首页 >  
搜索关键字:cup    ( 820个结果
JVM内存划分以及值传递和引用传递的区别
4-8-2017_SHJavaTraing_Day05 一.JVM对自己的内存划分为5个区域 1.方法栈:所有的方法运行的时候进入内存 2.堆:存储的是容器和对象 3.方法和数据共享: 运行时期class文件进入的地方 4.本地方法栈: JVM调用了系统中的功能 5.寄存器:内存和CUP之间 二.值 ...
分类:其他好文   时间:2017-04-09 13:57:44    阅读次数:136
Codeforces Round #405 (rated, Div. 2, based on VK Cup 2017 Round 1) A
Description Bear Limak wants to become the largest of bears, or at least to become larger than his brother Bob. Right now, Limak and Bob weigh a and b ...
分类:其他好文   时间:2017-04-05 01:27:48    阅读次数:161
Codeforces Round #405 (rated, Div. 2, based on VK Cup 2017 Round 1) B
Description Bear Limak examines a social network. Its main functionality is that two members can become friends (then they can talk with each other an ...
分类:其他好文   时间:2017-04-05 01:18:48    阅读次数:240
Codeforces Round #405 (rated, Div. 2, based on VK Cup 2017 Round 1) C
Description In the army, it isn't easy to form a group of soldiers that will be effective on the battlefield. The communication is crucial and thus no ...
分类:其他好文   时间:2017-04-05 01:14:34    阅读次数:209
Windows Phone 8 适应多屏分辨率
Windows Phone 8 比较 windows phone 7 来说有很多功能及性能上的提升例如支持多核 CUP、支持SD卡、多种分辨率、 显然WP7 WVGA - 480x800 的已经不能完全满足所用户的需求,很多用户喜欢大屏幕高分辨的手机,随着大屏手机的逐渐推出 WP8 也是支持大分辨率 ...
分类:Windows程序   时间:2017-04-04 12:30:59    阅读次数:299
XVII Open Cup named after E.V. Pankratiev. Eastern GP, Division 1
A. Count The Ones $ans=b-c+1$。 B. Craters 求出凸包,然后枚举凸包上两个点,对第三个点旋转卡壳。因为随机数据凸包期望点数为$O(\sqrt{n})$,故时间复杂度为$O(n\log n)$。 C. MSTrikes back! 记录最后$5$个点连通性的最小表 ...
分类:其他好文   时间:2017-03-31 00:20:51    阅读次数:216
1011. World Cup Betting (20)
1011. World Cup Betting (20) With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players ...
分类:其他好文   时间:2017-03-23 20:42:33    阅读次数:134
java基础知识备忘
1.java内存分配 a.寄存器cup -- 暂不涉及 b.本地方法栈 -- 虚拟机调用windows功能用的,比如创建文件夹 c.方法区 -- 存放 .class文件,负责存放方法 d.栈 -- 负责运行方法(运行时从方法区拷贝一份到栈) e.堆 -- 创建并存放对象(new出来的对象) 2.栈和 ...
分类:编程语言   时间:2017-03-23 14:01:45    阅读次数:160
【树形dp】Codeforces Round #405 (rated, Div. 1, based on VK Cup 2017 Round 1) B. Bear and Tree Jumps
我们要统计的答案是sigma([L/K]),L为路径的长度,中括号表示上取整。 [L/K]化简一下就是(L+f(L,K))/K,f(L,K)表示长度为L的路径要想达到K的整数倍,还要加上多少。 于是,我们现在只需要统计sigma((L+f(L,K))),最后除以K即可。 统计sigma(L)时,我们 ...
分类:其他好文   时间:2017-03-19 16:16:26    阅读次数:295
【树形dp】VK Cup 2012 Round 1 D. Distance in Tree
统计树中长度为K的路径条数。 用f[u][k]表示从u结点的子树中出发,终止于u结点的长度为k的路径条数。 边dp边统计答案。为了防止重复统计,在枚举子节点的时候,先将该子节点和当前u结点(和前面已经统计过的子节点)的dp值统计到ans以后, 再把该子节点的dp值加到u结点的dp值中去。 这样,我们 ...
分类:其他好文   时间:2017-03-19 15:30:19    阅读次数:112
820条   上一页 1 ... 51 52 53 54 55 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!