There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every ...
分类:
其他好文 时间:
2016-08-03 06:44:34
阅读次数:
193
Problem Description Op tech briefing, 2002/11/02 06:42 CST "The item is locked in a Klein safe behind a painting in the second-floor library. Klein sa ...
分类:
其他好文 时间:
2016-08-01 15:24:26
阅读次数:
137
1340 - Story of Tomisu Ghost PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB It is now 2150 AD and problem-setters are havi ...
分类:
其他好文 时间:
2016-08-01 10:36:37
阅读次数:
214
这一道题有两种做法: 1:构建矩阵,根据斐波拉契数列数列类比,得到矩阵过后根据fi直接解出t(因为fi是小于19960515的所以过程中不会去"%",所以可以直接除以系数,不 用逆元),再用矩阵算出fj |fn+1 | |1 1|n * |f1| |fn | |0 1| * |f0| 2:找规律推性 ...
分类:
其他好文 时间:
2016-08-01 08:02:28
阅读次数:
189
扩展欧几里得算法。 1)ax+by=c。 有解的条件是c%gcd(a,b)==0,因为ax+by=gcd(a,b)一定有解。 设解是x0,y0,则通解 x=x0+(b/gcd(a,b))*t y=y0-(a/gcd(a,b))*t 2)ax ≡1 (mod n) x为a关于m的逆元,即ax-ny=1 ...
分类:
其他好文 时间:
2016-07-31 22:17:21
阅读次数:
136
I recently installed Qt5 and works like a charm for API 17 and armeabi-v7a.But I added second AVD with other parameters (of course, I installed packag... ...
分类:
移动开发 时间:
2016-07-31 15:48:58
阅读次数:
205
main.xml布局代码分析 second.xml布局文件代码分析 main.xml所对应的操作代码MainActivity.java second.xml布局文件所对应的操作SecondActivity.java activity布局界面需要在AndroidManifest.xml注册一下 ...
分类:
移动开发 时间:
2016-07-30 22:33:58
阅读次数:
265
main.xml布局代码实现 第二个界面布局Second.xml 在AndroidManifest.xml注册一下第二个activity界面 MainActivity.java 代码实现 SecondActivity代码实现 ...
分类:
移动开发 时间:
2016-07-30 18:26:54
阅读次数:
197
main.xml界面布局 second.xml界面布局 third.xml界面布局 第一个界面操作MainActivity.java 第二个界面操作SecondActivity.java 第三个界面操作ThirdActivity.java 对三个界面activity注册一下 ...
分类:
移动开发 时间:
2016-07-30 18:22:29
阅读次数:
250
1254 - Prison Break PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Michael Scofield has just broken out of the prison. Now ...
分类:
其他好文 时间:
2016-07-30 13:27:06
阅读次数:
166