上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 跑坑无数,终于使用create_ap开启wifi热点。 可以使用github上托管的项目,地址https://github.com/oblique/create_ap/ 安装如https://github.com/oblique/create_ap/教程所示,安装后使用命令sudo create_a 阅读全文
posted @ 2017-01-22 18:24 vwirtveurit 阅读(5329) 评论(0) 推荐(0) 编辑
摘要: 在/etc/rc.local中添加命令,开机时以root权限运行 在~/.profile中添加命令,开机时以登陆用户权限运行 阅读全文
posted @ 2017-01-22 18:13 vwirtveurit 阅读(282) 评论(0) 推荐(0) 编辑
摘要: //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... 阅读全文
posted @ 2017-01-22 18:02 vwirtveurit 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 题意: 给出K1,求一个12位数(不含前导0)K2,使得K1^K2 mod (10^12) = K2 思路:借鉴他人思路,任取一个K2,若K1^K2 mod (10^12) != K2,则令K2 = K1^K2 mod (10^12) ,效率较高,但具体原因不知,若了解原因请指教 阅读全文
posted @ 2017-01-21 15:54 vwirtveurit 阅读(165) 评论(0) 推荐(0) 编辑
摘要: //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... 阅读全文
posted @ 2017-01-12 19:50 vwirtveurit 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 参考 :http://blog.csdn.net/u010129448/article/details/47754623 ubuntu 下gnome只要将代码中deepin-terminal改为gnome终端就行 G++ openGL 阅读全文
posted @ 2016-12-08 13:42 vwirtveurit 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 指数循环节,由于a ^x = a ^(x % m + phi(m)) (mod m)仅在x >= phi(m)时成立,故应注意要判断 阅读全文
posted @ 2016-12-01 23:19 vwirtveurit 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 从前往后扫,找到一出现次数为0的数,从后面找一个出现不为0的数转化而来。设置两指针l, r来处理。 阅读全文
posted @ 2016-11-26 16:03 vwirtveurit 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 2016青岛现场赛的一题,由于第一次走过不会产生影响,需要拆点,不过比赛时没想到,此外还有许多细节要注意,如要加eps,时间卡得较紧要注意细节优化等 阅读全文
posted @ 2016-11-24 23:13 vwirtveurit 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 安装UGet,开始使用正常,后来打开时会闪退,估计是软件配置错误,但软件重装也没用,用dpkg --purge也无法删除配置文件。 后来想到是在下载eclipse时,将eclipse文件删除,导致软件启动时无法访问文件,所以程序崩溃,所以将配置文件删除应该就OK 后来使用sudo grep -rn 阅读全文
posted @ 2016-11-20 15:42 vwirtveurit 阅读(1300) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页