摘要: 自己的博客终于上线了, 迁移到 www.sizaif.com欢迎来访问哇 阅读全文
posted @ 2018-05-23 09:46 Sizaif 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 在wordpress后台的设置中改了wordpress地址和站点地址后导致网站无法打开,有两种解决办法。网址请改成你自己的.方案一 在functions.php中添加如下代码即可。update_option("siteurl","http://www.sizaif.t... 阅读全文
posted @ 2018-05-22 20:09 Sizaif 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: 写code 时 经常会遇到 输入串, 转换为 其他类型的数据比如输入串123456 转换为 int 类型笨方法就是扫描整个串 char -> int 然后 *10 操作, 这是非常麻烦的。C++ 库中 提供了 一个很强大 流 sstream, 其中就有 ... 阅读全文
posted @ 2018-05-19 22:22 Sizaif 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 题目描述Alice and Bob are playing a stone game. There are n piles of stones. In each turn, a player can remove some stones from a pile (th... 阅读全文
posted @ 2018-05-16 20:15 Sizaif 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1.类(Class):使用三层矩形框表示。第一层显示类的名称,如果是抽象类,则就用斜体显示。第二层是字段和属性。第三层是类的方法。注意前面的符号,‘+’表示public,‘-’表示private,‘#’表示protected。2.UML类图符号之接口:使用两层矩形框表... 阅读全文
posted @ 2018-05-15 21:08 Sizaif 阅读(2804) 评论(0) 推荐(1) 编辑
摘要: 老是忘记 sscanf 这个 东西 的用法;啊啊啊啊, 脑子不好用 ,记下来把把string 转换成 int类型sscanf(str.c_str(),"%d",&x); 阅读全文
posted @ 2018-05-10 17:38 Sizaif 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Cordon Bleu时间限制: 1 Sec 内存限制: 128 MB提交: 22 解决: 7[提交][状态][讨论版][命题人:admin]题目描述A Parisian entrepreneur has just opened a new restaurant ... 阅读全文
posted @ 2018-04-30 20:52 Sizaif 阅读(483) 评论(0) 推荐(0) 编辑
摘要: Treasure Map时间限制: 1 Sec 内存限制: 128 MB提交: 128 解决: 25[提交][状态][讨论版][命题人:admin]题目描述You have found a treasure map! The map leads you to se... 阅读全文
posted @ 2018-04-29 13:11 Sizaif 阅读(233) 评论(0) 推荐(0) 编辑
摘要: VPS 系统版本: Ubuntu 1604 X64 位 OVZ 架构, 已开启NAT 功能;目的: 实现 搭建SSR 梯子, 流畅食用 Youtube 1080P, Google 大体思路: 1:修改ssh 端口号 修改ssh 端口号, 目的有效防止 别人暴... 阅读全文
posted @ 2018-04-26 15:40 Sizaif 阅读(1371) 评论(0) 推荐(0) 编辑
摘要: 题目传送门:http://codeforces.com/problemset/problem/794/CC. Naming Companytime limit per test2 secondsmemory limit per test256 megabytesinp... 阅读全文
posted @ 2018-04-24 17:48 Sizaif 阅读(329) 评论(0) 推荐(0) 编辑