码迷,mamicode.com
首页 >  
搜索关键字:stacking boxes    ( 420个结果
Codeforces Round #278 (Div. 2)
A. Giga Tower模拟即可,略过B. Candy Boxes四个整数x1..x4,满足x10,那么Y就赢了。y可以买属性,每一点的价格分别为h,a,d给定他们两个的三个属性值,给定价格,问y要战胜怪物m需要花费最少多少钱在买属性上?给定的属性值都在[1,100]剪枝搜索defy最大为100,...
分类:其他好文   时间:2014-11-23 15:43:28    阅读次数:153
Configure the Windows Phone 8.1 Emulator to work with Fiddler
Run Fiddler.Run Fiddler and choose (from the menu) Tools, Fiddler Options… Check these boxes in the HTTPS tab of the resulting dialog (and hit OK):Cli...
分类:Windows程序   时间:2014-11-22 17:21:56    阅读次数:514
Codeforces Round #278 (Div. 2) B. Candy Boxes [brute force+constructive algorithms]
哎,最近弱爆了,,,不过这题还是不错滴~~要考虑完整各种情况8795058 2014-11-22 06:52:58njczy2010 B - Candy Boxes GNU C++Accepted31 ms4 KB8795016 2014-11-22 06:48:15njczy2010 B - C....
分类:其他好文   时间:2014-11-22 13:18:15    阅读次数:161
LPTHW 笨方法学python 19章
本章节,我只是把所有的输出加上了自己的注释。#!/usr/bin/env python# -*- coding:utf-8 -*-def cheese_and_crakers(cheese_count, boxes_of_crackers): '''定义了cheese_and_crakers的...
分类:编程语言   时间:2014-11-06 00:25:49    阅读次数:232
UVA - 103 Stacking Boxes
#include #include #include #include #include #include #include #include #include #include using namespace std; int head[50]; int tail; int dis[50]; struct Edge { int to,next; }edge[1000]; void add(in...
分类:其他好文   时间:2014-11-05 19:45:40    阅读次数:226
POJ1988 Cube Stacking (!hard)
DescriptionFarmer John and Betsy are playing a game with N (1 #includeusing namespace std;int fa[30001]={0},sum[30001]={0},len[30001]={0};int rool(int...
分类:其他好文   时间:2014-11-05 16:27:40    阅读次数:208
ural 1114. Boxes(dp)
http://acm.timus.ru/problem.aspx?space=1&num=1114 有n个盒子,两两种颜色的球,红球和篮球分别有a和b个,现在随意向盒子里放球,每个盒子可以放一种颜色,两种颜色或不放。问有多少种方法。 设dp[i][j][k]表示到第i个盒子还剩下j个红球和k个篮球,可以列出状态转移方程:dp[i][j][k] = ∑ ( dp[i-1][jj...
分类:其他好文   时间:2014-11-05 13:06:46    阅读次数:164
POJ--1128--Frame Stacking【拓扑排序】
链接:http://poj.org/problem?id=1128 题意:有几张图片,给你叠加到一起之后的图,问叠加的可能性,如有多种可能则按字典序由小到大输出。 思路:根据给出的图形建一个图,被覆盖的图片向覆盖它的图片建边,然后拓扑排序。 拓扑排序按照字母顺序从小到大找入度为0的点,用dfs形式的拓扑排序,就按照字典序输出了。 POJ1270的做法也类似: 代码 ...
分类:编程语言   时间:2014-11-02 00:36:56    阅读次数:196
sicily 1193. Up the Stairs
Time Limit: 1sec Memory Limit:32MBDescriptionJohn is moving to the penthouse of a tall sky-scraper. He packed all his stuff in boxes and drove them t....
分类:其他好文   时间:2014-11-01 20:26:35    阅读次数:226
CSS float浮动的深入研究、详解及拓展(二)
接上回… 五、浮动的非本职工作 浮动的本职工作是让匿名inline boxes性质的文字环绕图片显示,而其他所有用浮动实现的效果都不是浮动应该做的事情,我称之为“非本职工作”。 或许我们并没有过多的深思,把一些实...
分类:Web程序   时间:2014-10-30 17:26:37    阅读次数:346
420条   上一页 1 ... 35 36 37 38 39 ... 42 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!