2301: [HAOI2011]Problem b Description 对于给出的n个询问,每次求有多少个数对(x,y),满足a≤x≤b,c≤y≤d,且gcd(x,y) = k,gcd(x,y)函数为x和y的最大公约数。 Input 第一行一个整数n,接下来n行每行五个整数,分别表示a、b、c、 ...
分类:
其他好文 时间:
2016-12-22 00:31:11
阅读次数:
212
作业 作 业 20161221 可以不完成 One may fall in love with mang people during the lifetime. when you finally get your own happeniss, you will understand the prev ...
分类:
其他好文 时间:
2016-12-21 18:33:06
阅读次数:
256
button请始终为按钮规定 type 属性。Internet Explorer 的默认类型是 "button",而其他浏览器中(包括 W3C 规范)的默认值是 "submit"。 取消自动刷新方式如下: <form action="login.html" method="post" id="log ...
分类:
其他好文 时间:
2016-12-21 15:54:23
阅读次数:
118
sublime编辑器前端必备插件 下面这一行是Package Control包安装,它是sublime的插件包管理器。新安装的sublime 里没有Package Control,按一下ctrl+~,然后输入下面这个。 import urllib.request,os,hashlib; h = '2 ...
分类:
其他好文 时间:
2016-12-21 02:49:19
阅读次数:
152
通过传统的form表单提交的方式上传文件: Html代码 <form id= "uploadForm" action= "http://localhost:8080/cfJAX_RS/rest/file/upload" method= "post" enctype ="multipart/form- ...
分类:
Web程序 时间:
2016-12-20 20:36:47
阅读次数:
228
http://blog.csdn.net/canot/article/details/52040415 关于个人对Redis提供的Pub/Sub机制的认识在上一篇博客中涉及到了,也提到了关于如何避免Redis的Pub/Sub的一个最大的缺陷的思路—消息的持久化(http://blog.csdn.ne ...
分类:
Web程序 时间:
2016-12-20 19:55:26
阅读次数:
283
今天做数据核对时有个地方用了一下左连接,有个地方数据出来之后,吓我一跳,仔细研究后,才发现以前的认知错了。于是又做了个实验加以验证。 如下图:有两个表TableA和TableB,TableA里有两个字段(name,class),TableB有三个字段(name,subject,score)。 问题: ...
分类:
其他好文 时间:
2016-12-20 14:17:07
阅读次数:
178
1.设置文字的格式:<font face=""></font> 字号<font size=""> 颜色<font color=""> 2.设置粗体、斜体、下划线:b/strong/em/i/u 3.设置上标下标sup sub 4.不换行标记 nobr 换行 br 5.水平线 hr <hr width ...
分类:
其他好文 时间:
2016-12-20 13:48:58
阅读次数:
184
Topological Sort: This problem is to determine if there's one, and only one sequence to sort a DAG. The method is to check if the queue's size is alwa ...
分类:
其他好文 时间:
2016-12-20 09:39:59
阅读次数:
185