http://acm.hdu.edu.cn/showproblem.php?pid=4493题意是输入12个数据,让你求平均值,但是要去除尾零,就像100.00只要输出100其实这题有点不严密,像这组数据2100.995100.995100.995100.995100.995100.995100.9...
分类:
其他好文 时间:
2014-05-14 02:31:35
阅读次数:
199
1、后台商店设置-基本设置-URL重写开启2、修改httpd.conf文件AllowOverride
None 改为AllowOverride AllLoadModule rewrite_module
modules/mod_rewrite.so前面的#号删除3、打开conf\extra\http....
分类:
其他好文 时间:
2014-05-14 02:03:49
阅读次数:
442
Description
Ignatius花了一个星期的时间终于找到了传说中的宝藏,宝藏被放在一个房间里,房间的门用密码锁起来了,在门旁边的墙上有一些关于密码的提示信息:
密码是一个C进制的数,并且只能由给定的M个数字构成,同时密码是一个给定十进制整数N(0
注意:由于宝藏的历史久远,当时的系统最多只能保存500位密码.因此如果得到的密码长度大于500也不能用来开启房门,这种情况也被认...
分类:
其他好文 时间:
2014-05-14 00:07:09
阅读次数:
328
//need to wait until onload so body is available
window.onload = function(){
function getWindowWidth(){
if (window.innerWidth){
ret...
分类:
Web程序 时间:
2014-05-13 07:37:26
阅读次数:
394
手动模拟。。
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define N 10100
#define inf 1000000010
mapx,y;
struct X{
int x,y;
bool operator<(const X&a)const{...
分类:
其他好文 时间:
2014-05-13 07:29:10
阅读次数:
294
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
我发了一个wine的补丁,实现complex::pow的部分重载:http://source.winehq.org/patches/data/104267
HongQian帮我在irc上问了Piotr对这个补丁的看法,他说:
“it generally looks ok but it's possible to implement it with better
precision, so I...
近来android上越来越多的应用对自身的保护机制加强了重视,主要表现在几个方面。1dex加壳2so加壳3dex藏在so中,在适当的时候释放。这是技术上一个进步,并且还有一些专业的公司提供了整个安全的解决方法,比如防ptrace,或者加密dex文件等。但是不管如何,在技术层面,cpu要运..
分类:
移动开发 时间:
2014-05-13 00:44:42
阅读次数:
566
暴力出奇迹。。
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ll __int64
#define N 42
ll n,m,ans;
ll Gcd(ll x,ll y){
if(x>y)swap(x,y);
while(x){
y%=...
分类:
其他好文 时间:
2014-05-12 23:11:06
阅读次数:
445
显示数据库中的存储过程__转
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