码迷,mamicode.com
首页 >  
搜索关键字:a strange lift    ( 510个结果
Strange Country II 暴力dfs
这题点的个数(#include #include #include #include #include #include #include #include #include #include #include #include #define Max(a,b) (((a) > (b)) ? (a)...
分类:其他好文   时间:2015-03-15 15:05:22    阅读次数:159
BZOJ 2176 Strange string 最小表示法
题目大意:给定一个串S,求最小表示法 n 记得用unsigned char不然WA= = 数据真是逗- - #include #include #include #include #define M 10001000 using namespace std; int n; unsigned char s[M]; int Min_Representation() { int i,j,...
分类:其他好文   时间:2015-03-14 09:38:23    阅读次数:124
和Keyle一起学StrangeIoc – Extensions
Strange: the IoC framework for Unity Extensions You may have heard that Strange is a Dependency Injection framework. I'm a little uncomfortable with t...
分类:其他好文   时间:2015-03-14 06:08:31    阅读次数:411
hdu A strange lift
有起点和终点,有方向,有最少次数,所以这道题很明显是一道bfs的题目,这题要利用vist数组来标记已走过的楼层,因为这题里面已走过的楼层是不可能在走第二遍的。第二次走和第一次走的选择没有任何的区别。#include"iostream"#include"stdio.h"#include"string....
分类:其他好文   时间:2015-03-11 23:17:44    阅读次数:129
HDU 1548 A strange lift——BFS
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define sc(x) scanf("%d",&(x)) 8 #define pf(x) printf("%d\n", x) 9 #define ...
分类:其他好文   时间:2015-03-09 12:41:34    阅读次数:176
CodeForces 479E Riding in a Lift
题意:给你一个n层楼的电梯,起始楼层为a,有一个楼层b永远都不能访问。假设你现在所在的楼层为 x ,目标楼层为y,y必须满足条件|x-y| 6 #include 7 #include 8 #include 9 #include10 #include11 #include12 #include13 ....
分类:其他好文   时间:2015-03-08 22:56:51    阅读次数:232
hdu Strange fuction
本题是一道二分题,但是要利用导数来求最小值。对原函数进行求导,得到的导函数为f(x)=42*pow(x,6)+48*pow(x,5)+21*pow(x,2)+10*x-y;因为046802200时,f(x)恒小于0,故F(x)单调递减。当y>t; while(t--){ double y...
分类:其他好文   时间:2015-03-07 23:55:14    阅读次数:145
1061. Dating
Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a minute to figure out that those strange strings are a...
分类:其他好文   时间:2015-03-07 14:10:19    阅读次数:103
Balance
DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance.It orders two arm...
分类:其他好文   时间:2015-03-04 15:57:26    阅读次数:153
POJ 题目3107 Godfather(树的重心)
Godfather Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 4999   Accepted: 1729 Description Last years Chicago was full of gangster fights and strange murd...
分类:其他好文   时间:2015-02-28 08:58:18    阅读次数:119
510条   上一页 1 ... 36 37 38 39 40 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!