隐藏在素数规律中的π 传送门 //Achen #include<algorithm> #include<iostream> #include<cstring> #include<cstdlib> #include<cstdio> #include<vector> #include<queue> #i ...
分类:
其他好文 时间:
2017-12-17 18:20:51
阅读次数:
147
The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F ...
分类:
其他好文 时间:
2017-12-17 18:16:35
阅读次数:
148
连我自己把float和绝对定位,都称为脱离文档流,想想概念又不那么清晰,于是寻找了W3C资料来理解,才发觉不应该叫文档流。 资料 英文:https://www.w3.org/TR/CSS22/visuren.html#normal-flow 中文:http://w3help.org/zh-cn/kb ...
分类:
其他好文 时间:
2017-12-17 17:02:26
阅读次数:
173
将要学习到什么 酉相合与复对称矩阵相关知识点. 酉相合 定义 1(酉相合): 假设 $A,B \in M_n$ 是酉相合的,即对某个酉矩阵 $U \in M_n$ 有 $A=UBU^T$. 酉相似是在正规矩阵或者 Hermite 矩 ...
分类:
其他好文 时间:
2017-12-17 16:50:14
阅读次数:
166
1.父页面调用子页面的元素 (a代表iframe的id或者class,b代表子页面) 2.子页面调用父页面的元素 $(window.parent.document).contents().find("c") (c代表父页面的任意元素id或者class) 3.iframe高度自适应 <iframe s ...
分类:
其他好文 时间:
2017-12-17 15:51:55
阅读次数:
192
"BZOJ 2226" [Spoj 5971] LCMSum 这道题和 "上一道题" 十分类似。 $$\begin{align } \sum_{i = 1}^{n}\operatorname{LCM}(i, n) &= \sum_{i = 1}^{n}\frac{i \times n}{\opera ...
分类:
其他好文 时间:
2017-12-17 15:48:40
阅读次数:
153
Problem Description we define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26;Give you a letter x and a number y , you should outp ...
分类:
其他好文 时间:
2017-12-17 14:16:44
阅读次数:
184
1 状态查询 启动状态 SQL语句 结果 nomount select status from v$instance; STARTED select open_mode from v$database; ERROR at line 1: ORA-01507: database not mounted ...
分类:
数据库 时间:
2017-12-17 13:25:29
阅读次数:
213
享元模式(英语:Flyweight Pattern)是一种软件设计模式。它使用共享物件,用来尽可能减少内存使用量以及分享资讯给尽可能多的相似物件; 它适合用于只是因重复而导致使用无法令人接受的大量内存的大量物件。通常物件中的部分状态是可以分享。 常见做法是把它们放在外部数据结构,当需要使用时再将它们 ...
分类:
其他好文 时间:
2017-12-17 11:02:56
阅读次数:
221
Apache 1.html的完整格式 # vim /var/www/html/index.html<html><head><title>我要</title></head><body><center><h1>这铁棒有何用?</h1></center></body></html> #写到网站根目录下的i ...
分类:
Web程序 时间:
2017-12-16 23:15:23
阅读次数:
314