码迷,mamicode.com
首页 >  
搜索关键字:hdu1219 ac me    ( 16537个结果
spring中获取applicationContext
常用的5种获取spring 中bean的方式总结:方法一:在初始化时保存ApplicationContext对象代码:ApplicationContext ac = new FileSystemXmlApplicationContext("applicationContext.xml");ac.ge...
分类:移动开发   时间:2014-07-05 20:37:51    阅读次数:212
第一次作业
jsclick me!
分类:其他好文   时间:2014-07-05 17:15:33    阅读次数:166
安装nging,php
http://www.zihou.me/html/2010/11/14/2658.htmlhttp://www.linuxidc.com/Linux/2011-04/34964p4.htmhttp://www.cnblogs.com/jsckdao/archive/2011/05/05/203826...
分类:Web程序   时间:2014-07-05 16:56:46    阅读次数:330
ZOJ3640-Help Me Escape
Help Me Escape Time Limit: 2 Seconds      Memory Limit: 32768 KB Background     If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto th...
分类:其他好文   时间:2014-07-05 11:05:59    阅读次数:220
zoj能AC
题目描述: 对给定的字符串(只包含'z','o','j'三种字符),判断他是否能AC。 是否AC的规则如下: 1. zoj能AC; 2. 若字符串形式为xzojx,则也能AC,其中x可以是N个'o' 或者为空; 3. 若azbjc 能AC,则azbojac也能AC,其中a,b,c为N个'o'或者为空; 输入: 输入包含多组测试用例,每行有一个只包含'z','o','j'三...
分类:其他好文   时间:2014-07-04 07:32:48    阅读次数:204
python发送邮件
#!/usr/bin/envpython #-*-coding:utf8-*- importsmtplib fromemail.mime.textimportMIMEText textfile=‘sendmail.html‘ withopen(textfile,‘rb‘)asf: msg=MIMEText(fp.read(),‘html‘,‘utf8‘) msg.set_charset(‘utf8‘) me=‘xxx@163.com‘ you=‘xxxx@qq.com‘ msg[‘Subject‘]=..
分类:编程语言   时间:2014-07-04 06:41:33    阅读次数:325
【POJ】2278 DNA Sequence
各种wa后,各种TLE。注意若AC非法,则ACT等一定非法。而且尽量少MOD。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXN 105 8 #define...
分类:其他好文   时间:2014-07-03 23:59:54    阅读次数:442
【ZOJ】3430 Detect the Virus
动态建树MLE。模仿别人的代码模板各种原因wa后,终于AC。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXN 515*70 8 #define NXTN...
分类:其他好文   时间:2014-07-03 20:38:17    阅读次数:153
POJ2239 二分图最大匹配
问题:POJ2239分析: 本题给出每门课程的上课时间,求最大选课数,可以转化为二分图最大匹配问题求解。 设集合A为课程集,集合B为上课时间集,根据输入建立二分图。最大选课书就是该二分图的最大匹配数,采用匈牙利算法即可解决。 AC代码 1 //Memory: 252K Time:...
分类:其他好文   时间:2014-07-03 19:50:56    阅读次数:197
Autotools学习
我们通常用诸如 "./configure", "make","make install" 等命令就可以把源码包安装到系统中,但是背后的原理是什么呢?当我们需要修改源码,加入自己的代码后如何修改呢?所以需要学习如何利用 GNU Autoconf 及 Automake 这两套工具来自动产生 Makefile文件。下面的内容综合了一些网上找到的资源。 先来一个例子 1.系统中...
分类:其他好文   时间:2014-07-03 18:23:52    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!