|
|
|
问个头疼的算法问题
2D装箱, 写一个函数,参数是大矩形区域和你要装的小矩形区域, 遍历你的小矩形区域,尝试把小矩形放入你的大矩形中,左上角对齐,不能放进去的跳过,如果能放进去,假设当前的小矩形为最好的,然后继续遍历,如果遇到还能放进去的,比较这两个能放进去的哪个好(具体比较可以用谁的面积大,谁的周长大,或者谁的某一边更接近当前大区域的对应边),保留比较得到的比较好的矩形(类似选择排序),遍历完的理论上会有一个小矩形或者没有得到任何能放进去的矩形。 如果没有找到能放进去的矩形,函数结束。 如果有,你想象下,大矩形的左上角和小矩形的左上角是重合的,那么小矩形的右下角就在大矩形内,然后从小矩形的右下角向大矩形的底边或者右边做垂线(这个可以做出两条垂线,垂线最好选择短的),就会把大矩形上小矩形不覆盖的区域分成两个矩形(这个过程你可以画个图看一下比较容易看清效果),然后假设这俩个被划分出来的矩形为大矩形,与剩下的小矩形继续调用本函数(递归)。 |
|
[求助]查出Anticrack Software Protector v1.09 (ACProtect),然后怎么办?
哪位达人能告诉我该怎么办啊? |
|
[求助]查出Anticrack Software Protector v1.09 (ACProtect),然后怎么办?
又下了个论坛上的 OD 直接打开我要分析的EXE 整个od程序就结束了,什么都不显示。 可用这个OD打开我用VC写的程序 却没问题怎么办? |
|
[求助]查出Anticrack Software Protector v1.09 (ACProtect),然后怎么办?
具体现在是这样了 PEiD+v0.94 显示 什么都没找到 * (不知道我是不是插件用的不对) die_0.64 显示 compiler: microsoft visual c++[ver:×.×]|c/c++ heuristic: nothing found fi401 显示:*PE WIN GUI *section* ?? 我认为就是C的了,可是用 OllyDBG 2.0 打开,正常显示的4个区域都有数据,可是现在的这个第一个区域没有数据,空白的,我按F8 弹出对话框显示 "OllyDBG is unable to setp over the command at(possibly invalid) address cf468b9f. Memory is not readable" 哪位大侠告诉我下步该怎么做? |
|
[求助]谁能告诉我什么是影子原理
楼上两位可能没明白我的意思,在游戏的时候,只能开2个客户端,现在有人出售这样的软件,可以多开N个客户端,也就是说你可以同时玩N个号,有人说这个软件的原理就是运用的影子原理,我认为可能是让客户端在检查的时候, 就认为运行的是自己,我想知道这个影子原理是怎么实现的。 影子系统我知道的,就是个还原精灵类似的东西,不过还是谢谢2位。 |
|
[讨论]新手喜欢用的软件
顶楼上的。。。。。。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值