Problem : Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child ...
分类:
其他好文 时间:
2020-04-14 18:27:41
阅读次数:
69
当你在使用phpoffice/phpexcel 类库时候。composer 会给你提示一句话 Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instea ...
分类:
Web程序 时间:
2020-04-14 12:29:41
阅读次数:
118
Programmer Rostislav got seriously interested in the Link/Cut Tree data structure, which is based on Splay trees. Specifically, he is now studying the ...
分类:
其他好文 时间:
2020-04-12 20:18:43
阅读次数:
92
成对交换节点。给一个linked list,请成对调换node。例子 Given 1->2->3->4, you should return the list as 2->1->4->3. 我的思路是迭代。依然是给一个dummy节点放在head节点之前,然后dummy.next是head节点,nex ...
分类:
其他好文 时间:
2020-04-12 14:57:23
阅读次数:
75
1.概述 jdbc是什么? JDBC英文名为: Java Data Base Connectivity(Java数据库连接),从编程的角度来看,JDBC API是一组 Java类和方法 ,它们允许将 数据库调用嵌入到服务器应用程序 中。更具体地说,JDBC规范是每个JDBC驱动程序供应商都必须实现的 ...
分类:
数据库 时间:
2020-04-11 13:22:14
阅读次数:
74
16 使用Squid部署代理缓存服务 正向代理模式不仅可以让用户使用Squid代理服务器上网,还可以基于指定的IP地址、域名关键词、网站地址或下载文件后缀等信息,实现类似于访问控制列表的功能。反向代理模式可以大幅提升网站的访问速度,还可以帮助网站服务器减轻负载压力。 标准正向代理——分为标准代理模式 ...
分类:
其他好文 时间:
2020-04-11 00:34:50
阅读次数:
77
Problem Description Give you a number on base ten,you should output it on base two.(0 < n < 1000) Input For each case there is a postive number n on b ...
分类:
其他好文 时间:
2020-04-10 00:29:53
阅读次数:
80
1.黄金法则(Golden rule) 不管有多少人参与同一个项目,一定要确保每一行代码都像是同一个人编写的。 Every line of code should appear to be written by a single person, no matter the number of con ...
分类:
Web程序 时间:
2020-04-10 00:27:43
阅读次数:
97
Python 基础知识 1.语言特征及编码规范 1.1 Python 的解释器有哪些? CPython:采用 C 语言开发的的一种解释器,目前最通用也是使用最多的解释器。 IPython:是基于 CPython 之上的一个交互式解释器器,交互方式增强功能和 CPython 一样。 PyPy:目标是执 ...
分类:
编程语言 时间:
2020-04-10 00:14:13
阅读次数:
90
1001 A+B Format (20分) Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unl ...
分类:
其他好文 时间:
2020-04-09 16:44:40
阅读次数:
77