01 2017 档案
摘要:跑坑无数,终于使用create_ap开启wifi热点。 可以使用github上托管的项目,地址https://github.com/oblique/create_ap/ 安装如https://github.com/oblique/create_ap/教程所示,安装后使用命令sudo create_a
阅读全文
摘要:在/etc/rc.local中添加命令,开机时以root权限运行 在~/.profile中添加命令,开机时以登陆用户权限运行
阅读全文
摘要://https://www.oj.swust.edu.cn/problem/show/1736 //ID:Gavin #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long LL...
阅读全文
摘要:题意: 给出K1,求一个12位数(不含前导0)K2,使得K1^K2 mod (10^12) = K2 思路:借鉴他人思路,任取一个K2,若K1^K2 mod (10^12) != K2,则令K2 = K1^K2 mod (10^12) ,效率较高,但具体原因不知,若了解原因请指教
阅读全文
摘要://http://www.cnblogs.com/IMGavin/ //http://hihocoder.com/problemset/problem/1455 //https://media.hihocoder.com/contests/challenge25/solution.pdf //bitset 莫队 dfs序 /* in1[]表示当前处理的子树的bitset状态,in2[]为in1...
阅读全文