摘要: POJ 1703 - Find them, Catch themThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs ... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(85) 评论(0) 推荐(0)
摘要: HDU 1272 - 小希的迷宫上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(64) 评论(0) 推荐(0)
摘要: 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种说法是"1 X Y",表示X和Y是... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(87) 评论(0) 推荐(0)
摘要: 畅通工程某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路? Input测试输入包含若干测试用例。每个测... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(71) 评论(0) 推荐(0)
摘要: Ubiquitous ReligionsThere are so many different religions in the world today that it is difficult to keep track of them all. You are interes... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(142) 评论(0) 推荐(0)
摘要: Given a sequence of integers S = {S1, S2, . . . , Sn}, you should determine what is the value of themaximum positive product involving conse... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(92) 评论(0) 推荐(0)
摘要: /*给定一个序列 序列内部数字自由组合 求最大乘积*/#include #include #include #define T 30 //30为数组最大长度void quick_sort(int s[], int l, int r){ int i, j, x; i... 阅读全文
posted @ 2017-07-17 20:20 mlzc 阅读(275) 评论(0) 推荐(0)
摘要: 本次使用的路由器为 联想newifimini Y1步骤如下newifi刷openwrt固件刷uboot下载地址http://downloads.openwrt.org.cn/PandoraBox/Lenovo-Y1_RY-1S/u-boot/u-boot-pandorabox-y... 阅读全文
posted @ 2017-07-17 20:19 mlzc 阅读(432) 评论(0) 推荐(0)
摘要: 参考微信公众平台开发者文档https://mp.weixin.qq.com/wiki/8/f9a0b8382e0b77d87b3bcc1ce6fbc104.html下载示例代码将示例代码通过FTP传至自己的服务器配置域名和Token(我这里是dandan)随机生成Encoding... 阅读全文
posted @ 2017-07-17 20:19 mlzc 阅读(200) 评论(0) 推荐(0)
摘要: 1. 获取access_token登陆微信公众平台->开发者工具->在线接口调试工具填写appid和appsecret获取到access_token之后填进去即可。2. 保存代码放到服务器上面。3. 访问youdomain/xxx.php正确时的返回JSON数据包如下:{"err... 阅读全文
posted @ 2017-07-17 20:19 mlzc 阅读(809) 评论(0) 推荐(0)