码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
NYOJ 237 游戏高手的烦恼 && POJ3041-Asteroids ( 二分图的最大匹配 )
链接: NYOJ 237  游戏高手的烦恼:click here~~ POJ  3041 Asteroids           :click here~~ 题意: 两题一样,翻译不同而已。 有一位传说级游戏高手,在闲暇时间里玩起了一个小游戏,游戏中,一个n*n的方块形区域里有许多敌人,玩家可以使用炸弹炸掉某一行或者某一列的所有敌人。他是种玩什么游戏都想玩得很优秀的人,所以,他决...
分类:其他好文   时间:2015-02-18 22:07:41    阅读次数:911
PHP-mac下的配置及运行
Here's another option, from the guys from liip, here. This is a PHP package that comes pre-built for Yosemite (older versions works too) but it is jus...
分类:Web程序   时间:2015-02-18 17:38:28    阅读次数:210
HDU 4279 Number(数学题,找规律)
题目大意: Here are two numbers A and B (0   For each x, f(x) equals to the amount of x’s special numbers.   For example, f(6)=1, because 6 only have one special number which is 4. And f(12)=3, its spe...
分类:其他好文   时间:2015-02-18 14:07:34    阅读次数:205
NYOJ 78 圈水池( 凸包入门)
链接:click here 题目:有一个牧场,牧场上有很多个供水装置,现在牧场的主人想要用篱笆把这些供水装置圈起来,以防止不是自己的牲畜来喝水,各个水池都标有各自的坐标,现在要你写一个程序利用最短的篱笆将这些供水装置圈起来!(篱笆足够多,并且长度可变) 输出各个篱笆经过各个供水装置的坐标点,并且按照x轴坐标值从小到大输出,如果x轴坐标值相同,再安照y轴坐标值从小到大输出 样例输入...
分类:其他好文   时间:2015-02-16 22:11:37    阅读次数:228
Light OJ 1341 Aladdin and the Flying Carpet
It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which summons a powerful Genie. Here we are concerned about the first mystery. Aladdin was about to enter to a magi...
分类:其他好文   时间:2015-02-16 18:23:03    阅读次数:186
最大值子区间和的一维二维问题
一维问题:nyoj 44 子串和 链接:click here 题目大意:给定一整型数列{a1,a2...,an},找出连续非空子串{ax,ax+1,...,ay},使得该子序列的和最大,其中,1 思路:m是元素总个数,sum是第一个元素,将当前的第一个元素作为最大值max,之后依次输入,检查sum 代码: #include #include #include #includ...
分类:其他好文   时间:2015-02-15 23:12:25    阅读次数:185
NYOJ 280 LK的项链 &&POJ 2409 Let it Bead(polya 定理)
NYOJ 280 LK的项链  :click here POJ 2409 Let it Bead:click here 题意:一盒有红、蓝、绿三种颜色的珠子,每种颜色珠子的个数都大于24,现在LK想用这一盒珠子穿出一条项链,项链上的珠子个数为n(0           poj 上是c种颜色,s个珠子组成,数据比24小。 思路:今天刚接触到polya 定理: Polya定理:设...
分类:其他好文   时间:2015-02-15 10:45:22    阅读次数:172
[ruby]rubyGem出现ERROR: Could not find a valid gem时的处理方法
场景: 想安装SASS的时候,打开cmd,输入gem install sass的时候却出现了: ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from .... ...
分类:其他好文   时间:2015-02-15 08:18:57    阅读次数:679
game to refactor for refactor
main.cpp:#include #include #include "operation.h"using namespace std;int main(int argc, const char * argv[]) { // insert code here... std::cout >num.....
分类:其他好文   时间:2015-02-14 14:56:14    阅读次数:119
ios iphone 将log在终端输出
对于模拟器,其在终端的log文件位于: ~/Library/Logs/CoreSimulator/C4B94BA6-EF08-4AD2-AE7D-1A3A2E2AC545/system.log对于真机:Here's another tip using the great libimobiledevi...
分类:移动开发   时间:2015-02-13 15:59:37    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!