码迷,mamicode.com
首页 >  
搜索关键字:subject    ( 1700个结果
SPOJ AMR11E - Distinct Primes 10232【素数打表】
AMR11E - Distinct Primes no tags    Arithmancy is Draco Malfoy's favorite subject, but what spoils it for him is that Hermione Granger is in his class, and she is better than him at it.  ...
分类:其他好文   时间:2015-08-20 10:33:00    阅读次数:176
设计模式之观察者模式
Subject.javapublic interface Subject { public void registerObserver(Observer o); public void removeObserver(Observer o); public void notifyObservers();} Observer.javapublic interface Observer...
分类:其他好文   时间:2015-08-20 01:35:34    阅读次数:143
PHP正则表达式中函数preg_match()与preg_match-all的简单使用
<?php $pattern=‘/[0-9]/‘;???????????????????????????????????????????//定义匹配的模式 $subject=‘weuyr3ui76as83s0ck9‘;?????????????????//定...
分类:Web程序   时间:2015-08-19 23:51:21    阅读次数:325
spoj 10232 Distinct Primes(打表)
Distinct Primes Arithmancy is Draco Malfoy's favorite subject, but what spoils it for him is that Hermione Granger is in his class, and she is better than him at it.  Prime numbers are of mystical im...
分类:其他好文   时间:2015-08-19 14:52:58    阅读次数:109
使用qq邮箱发送html格式的邮件
importsmtplib fromemail.mime.textimportMIMEText mailto_list=["xxx@xxx.com","xxx@xxx.com"] mail_host="smtp.qq.com"#设置服务器 mail_user="xxx@qq.com"#用户名 mail_pass="xxx"#密码 defsend_mail(mailto_list,subject,content):#mailto_list:收件人;subject:主题;c..
分类:Web程序   时间:2015-08-19 02:05:45    阅读次数:708
豆瓣爬虫日志(一):豆瓣电影url类型
豆瓣电影主页上爬到了如下url: href=""http://movie.douban.com/subject/26289144/?from=showing"" href=""http://movie.douban.com/subject/26289144/?from=showing"" href=...
分类:Web程序   时间:2015-08-18 15:49:35    阅读次数:561
2015 HUAS Summer Trainning #5 E
DescriptionThe world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them. He is very...
分类:其他好文   时间:2015-08-16 21:14:56    阅读次数:116
LIS-Program E
最大上升子序列Description The world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them....
分类:其他好文   时间:2015-08-16 21:09:45    阅读次数:103
动态规划——E (LIS())最长上升子序列
E -LISTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe world financial crisis is quite a subject. Some peo...
分类:其他好文   时间:2015-08-16 21:07:48    阅读次数:138
观察者模式
模式定义:简单来讲,观察者模式定义了一个一对多的依赖关系,让一个或多个观察者对象监控一个主题对象。这样一个主题对象在状态上的变化能够通知所有的依赖于此对象的所有观察者对象,使这些观察者对象能够更新自身。 模式中涉及的四个角色: 1、 Subject主题角色(被观察的对象接口) 1.1被观察者的统一接口; 1.2每个Subject可以有多个Observer对象的引用 采用Web...
分类:其他好文   时间:2015-08-15 23:08:26    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!