题目链接 T1 博弈论+概率dp 对于第一问:f[i][j]表示前i个数,当前黑板上的数为j的概率 当前有三种情况 1. 当前数不是j的倍数—>黑板上的数字改变。 2. 当前数是j的倍数且当前数在前i个数中(已经选过) 3. 当前数是j的倍数且没有选过 转移:f[i+1][j]=((j的倍数个数-i ...
分类:
其他好文 时间:
2017-10-18 15:28:03
阅读次数:
186
1 前言 本来想学习Zyphyr的Power Management,但是看着看着就被带进去了。 你看功耗,里面的suspend涉及到时间补偿相关的吧,然后就涉及到了Kernel Clocks/Timers/Thread Sleeping。 然后你得知道内核运行情况,想去获取消息,就得熟悉内核的Log ...
分类:
其他好文 时间:
2017-10-16 11:05:39
阅读次数:
219
With redux-observable, we have the power of RxJS at our disposal - this means tasks that would otherwise be complicated and imperative, become simple ...
分类:
Web程序 时间:
2017-10-16 02:15:30
阅读次数:
199
关机: shutdown -h now #立刻关机重启,工作中常用 shutdown -h +1 #1分钟后关机 init 0 halt #立即停止系统,需要人工关闭电源 halt -p # poweroff #立即停止系统,并且关闭电源 重启: reboot #工作中常用 shutdown -r ...
分类:
系统相关 时间:
2017-10-14 22:38:46
阅读次数:
297
https://vjudge.net/problem/UVA-1374 题意: 输入n,问最少需要几次乘除法可以从x得到x^n 每次从当前状态集和找两个数相加减 只需要用刚搜出的数 与之前的数即可 ...
分类:
其他好文 时间:
2017-10-14 21:15:55
阅读次数:
134
Power Strings POJ - 2406 kmp可以过的 学了sa就用sa搞一下,,一直TLE... 好像要用另外一种方法实现,还没学=_= 先放上超时的代码吧 1 //#include <bits/stdc++.h> 2 #include <iostream> 3 #include <cs ...
分类:
其他好文 时间:
2017-10-14 18:33:33
阅读次数:
134
介绍: 这是Cypher。纯Android的扩展。Cypher尝试保持Android的纯度,同时为用户提供有用的功能。目标是提供最高水平的表现,同时实现简单。 功能: 状态栏 - 快速下拉,智能下拉,网络流量指示器,状态栏图标自定义,运营商标签,时钟和日期批量化。快速设置 - QS行和列,Wi-Fi ...
分类:
其他好文 时间:
2017-10-13 21:24:28
阅读次数:
361
问题描述:实现函数double power(double base,int exponent),求base的exponent次方。不能使用库函数,同时不需要考虑大数问题。 ...
分类:
其他好文 时间:
2017-10-12 17:07:12
阅读次数:
118
Power OFF and ON USB device in linux (ubuntu) http://loginroot.com/power-off-and-on-usb-device-in-linux-ubuntu/ There are two methods of doing this. S ...
分类:
系统相关 时间:
2017-10-12 15:43:14
阅读次数:
403
The Power of Python and SQL Server 2017 原文链接:https://www.red-gate.com/simple-talk/sql/sql-development/power-python-sql-server-2017/ Python和SQL Server ...
分类:
数据库 时间:
2017-10-11 21:48:55
阅读次数:
177