常用的化简方法(高中就常用了): p^(e+1)-1/p-1= [ p^(e+1) -p + (p-1) ]/ (p-1) = p*(p^e-1)/(p-1) + 1 (也可以直接分解p^e-1) 常用的思路:反面验证 比如本题,求偶数(试探后发现不太好求),则推出奇数条件 再看本题。要想让σ(n) ...
分类:
其他好文 时间:
2018-09-27 01:53:21
阅读次数:
110
现在比较新的浏览器在本地调试时AJAX请求,基本都会有跨域问题。相应的解决方案也挺多的,工具也不少。像charles等抓包工具等。不过最简单的就是移除浏览器的同源限制。 我们要做的第一步,就是创建一个文件夹,这个文件夹是用来保存关闭安全策略后的用户信息的,名字可以随意取,位置也可以随意放: 然后打开 ...
分类:
系统相关 时间:
2018-09-26 17:16:00
阅读次数:
239
Heavy Light Decomposition & Tarjan Description Given a simple connected graph. It is guaranteed that any set of points in a simple cycle includes a co ...
分类:
其他好文 时间:
2018-09-24 12:46:01
阅读次数:
186
看了一下午终于明白raytracing的算法了 不知道这次能记住多久 ssr我又完全不记得了 按照Henrik所说 理解raytracing的核心在于,它是从Eye到light反着走的 需要一个前序的概念 Light Transport Notation LD?S*E light source-Di ...
分类:
其他好文 时间:
2018-09-23 22:22:50
阅读次数:
174
7.对象的属性可以是另外一个对象或对象的参考 (视频下载) (全部书籍) 通过这种方法可以迅速构建一个比较大的系统。 本章源码 class Motor { Light[] lights; Handle left, right; KickStart ks; Motor() { lights = new ...
分类:
编程语言 时间:
2018-09-23 11:49:08
阅读次数:
158
import sqlite3, sys, logging, time, os, json, zlib, re'''MapDBImporter-latest -f png -mName "World Light" -mDescription "A simple, light grey world ma... ...
分类:
其他好文 时间:
2018-09-22 21:17:32
阅读次数:
159
At 0 second, the LED light is initially off. After BaoBao presses the button 2 times, the LED light turns on and the value of the counter changes to 1 ...
分类:
其他好文 时间:
2018-09-18 11:14:46
阅读次数:
168
我们现在就告诉你九个使用Python的顶级公司。通过这种方式,您可以看到Python在商业和软件开发中的实际应用。 Industrial Light and Magic Industrial Light and Magic(ILM)是乔治卢卡斯于1975年创建的特效公司,为星球大战创造了FX(电影特 ...
分类:
编程语言 时间:
2018-09-16 21:02:39
阅读次数:
225
BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a ...
分类:
其他好文 时间:
2018-09-16 20:50:18
阅读次数:
152