码迷,mamicode.com
首页 >  
搜索关键字:hdu 4719 oh my holy    ( 45498个结果
hdu Buy the Ticket
1 import java.math.BigInteger; 2 import java.util.*; 3 public class Main { 4 public static void main(String []args) 5 { 6 Scanner cin...
分类:其他好文   时间:2014-06-07 05:07:21    阅读次数:222
hdu 4115 Eliminate the Conflict
DescriptionConflicts are everywhere in the world, from the young to the elderly, from families to countries. Conflicts cause quarrels, fights or even ...
分类:其他好文   时间:2014-06-07 04:23:10    阅读次数:213
HDU 1728 逃离迷宫(BFS)
Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中,glo....
分类:其他好文   时间:2014-06-07 02:57:41    阅读次数:276
Calling C++ code from C# z
http://blogs.msdn.com/b/borisj/archive/2006/09/28/769708.aspxI apologize for the long delay for this section (although I suppose my average posting fr...
分类:编程语言   时间:2014-05-30 13:08:38    阅读次数:362
分享:mysql too many open connections问题解决方法
mysql too many open connections问题解决方法。原文参考:http://www.jbxue.com/db/10068.html原因主要是:max_connections配置问题导致,它必须在[mysqld]下面才会生效。曾经以为在my.cnf写入max_connectio...
分类:数据库   时间:2014-05-30 05:22:53    阅读次数:319
hdu 2768 Cat vs. Dog (二分匹配)
Cat vs. DogTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1422Accepted Submission(s): 534Problem ...
分类:其他好文   时间:2014-05-30 03:30:21    阅读次数:292
HDU 2448 Mining Station on the Sea 费用流
Mining Station on the SeaTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2123Accepted Submission(s...
分类:其他好文   时间:2014-05-30 03:11:52    阅读次数:265
HDU 2814 Interesting Fibonacci
一道找循环节的题,RE了很多发。要用到一个转换式子:a^b%c=[(a%c)^(b%phi(c)+phi(c))]%c#include#include#include#include#include#define ull unsigned long longusing namespace std;i...
分类:其他好文   时间:2014-05-30 02:53:25    阅读次数:251
centos web+mysql服务器的安全
今天闲来无事,拿来X-Scan-v3.3来扫描自己的服务器,开放端口有22,80,443,3306;3306端口被扫出来,呵呵,那可不得了;一,屏蔽扫描器扫出3306端口,因为web和数据库是在同一台服务器上,就没有必要打开远程连接数据库,操作如下; 1.1 在配置文件/etc/my.cnf中,修....
分类:数据库   时间:2014-05-29 09:15:45    阅读次数:292
HDU 4832 Chess 排列组合 DP
ChessTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 351Accepted Submission(s): 124Problem Descrip...
分类:其他好文   时间:2014-05-29 08:11:42    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!