1. Description The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the ...
分类:
其他好文 时间:
2016-04-03 15:59:26
阅读次数:
175
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai ...
分类:
其他好文 时间:
2016-04-03 14:30:51
阅读次数:
149
发布类型 appstore: 用于appstore发布,所有设备可使用 adhoc: 注册UUID的设备可以使用 in house: 仅限企业内部使用,不能通过appstore分发,不可公开分发 帐号类型 个人帐号: 价格:99$/年 AppStore上架:是 协作人数:1人 最大UUID支持数:1 ...
分类:
移动开发 时间:
2016-04-01 16:06:36
阅读次数:
180
Round House
题目链接:
http://codeforces.com/problemset/problem/659/A
解题思路:
The answer for the problem is calculated with a formula ((a?-?1?+?b) n + n) n + 1.
Such solution has complexity...
分类:
其他好文 时间:
2016-04-01 10:18:00
阅读次数:
242
时间:2016-03-31 23:17:13 星期四 题目编号:[2016-03-31][codeforces][659A][Round House] 题目大意:n个数字绕成一个圈,沿着起点a,走b步,问最后能走到哪里 分析:直接 (a+b)%n,不过需要注意取模为0的时候,结果应该是n #incl... ...
分类:
其他好文 时间:
2016-04-01 01:10:19
阅读次数:
195
字符串的另一种写法:<<<AAAA; 后两个AA回车要求定格 不然报错 例子: 图: ①House分七个页面 数据库为 test2 House 表 注意form:chuli的表可以与相关表合并为一个 分开较清晰 分别是 1,Hmain.php:主页面 1 <!DOCTYPE html> 2 <htm ...
分类:
Web程序 时间:
2016-03-31 00:12:05
阅读次数:
178
原题链接在这里:https://leetcode.com/problems/house-robber-iii/ 题目: The thief has found himself a new place for his thievery again. There is only one entrance ...
分类:
其他好文 时间:
2016-03-27 07:13:28
阅读次数:
133
用几个词来概括下漏洞原理:Arm+heap overflow(house of force)+dl-resolve Info leak: 在printf key8时,泄漏堆上地址。 增大top chunk的大小 可以保证下一次malloc时,申请到任意地址内存 申请内存,覆盖secret, name
分类:
其他好文 时间:
2016-03-23 11:20:36
阅读次数:
223
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou
分类:
其他好文 时间:
2016-03-20 17:57:45
阅读次数:
142
Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so tha
分类:
其他好文 时间:
2016-03-18 17:28:26
阅读次数:
203