码迷,mamicode.com
首页 >  
搜索关键字:uva easy problem fr    ( 50694个结果
linux 下jansson安装和使用
1.安装jansson ./configure Make Make install2.生成帮助文档 Cd doc Make html编译安装doc时提示 spinx-build not a command执行下面语句安装sphinx easy_install -U Sphinx生成_build文件夹...
分类:系统相关   时间:2014-05-14 00:08:12    阅读次数:1794
uva :10123 - No Tipping(dfs + 几何力距 )
题目:uva :10123 - No Tipping 题目大意:给出l, m, n 分别表示 长度为l 的杠杆, 重量为 m, 有n个物体放在上方。问每次从上面挑选一个物品移除,是否能使杠杆继续平衡。这个过程中都可以的话,就输出移除顺序(不唯一) 否则就输出 impossible ,一开始,这个杠杆就不平衡的情况也会是有的。因为杠杆也是有重量的。 解题思路; 1、这题先前我就不明白什...
分类:其他好文   时间:2014-05-13 23:00:26    阅读次数:414
poj 1066 Treasure Hunt
http://poj.org/problem?id=1066大意; 问在房间中有一份宝藏,但是房间中有一些隔板,问最少需要通过多少隔板思路: 链接宝藏与爆破地点,枚举每一条直线寻找最少破坏的隔板。。 1 #include 2 #include 3 #include 4 using na...
分类:其他好文   时间:2014-05-13 22:33:47    阅读次数:372
uva 11077 置换
1 /** 2 给定一个置换,看能不能存在一个置换A^2 = B 3 思路; 循环节长度为偶数n的置换只能由循环节长度为长度2*n 的置换A*A 而变得。所以只需求出循环节,看循环节长度为偶数的个数是否为偶数个即可。。 4 训练指南 5 **/ 6 #include 7 #include 8 ...
分类:其他好文   时间:2014-05-13 22:24:26    阅读次数:246
hdu 2841 Visible Trees
1 /** 2 大意: 求[1,m], [1,n] 之间有多少个数互素。。。做了 1695 ,,这题就so easy 了 3 **/ 4 #include 5 #include 6 #include 7 using namespace std; 8 const long long max...
分类:其他好文   时间:2014-05-13 21:28:49    阅读次数:349
bzoj 3172 后缀数组|AC自动机
后缀数组或者AC自动机都可以,模板题。/************************************************************** Problem: 3172 User: BLADEVIL Language: C++ Result: Ac...
分类:其他好文   时间:2014-05-13 21:25:44    阅读次数:433
Bone Collector------HDOJ杭电2602(纯01背包问题!!!!!!详解!)
Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grav...
分类:其他好文   时间:2014-05-13 06:58:19    阅读次数:523
Hydra介绍及使用
Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to...
分类:其他好文   时间:2014-05-13 06:11:08    阅读次数:379
hdu 3336 Count the string
Count the string Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4239    Accepted Submission(s): 1977 Problem Description It is wel...
分类:其他好文   时间:2014-05-13 00:14:55    阅读次数:357
显示数据库中的存储过程__转
显示数据库中的存储过程__转 It's no easy trick to see stored procedures in a database programmatically with a scripting language like ASP. If you're using MS Access, you're out of luck. Access provides no way to ...
分类:数据库   时间:2014-05-12 22:43:25    阅读次数:541
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!