|
[翻译]脱壳的艺术
楼主是PKU Online Judge的作者hawking吗? |
|
|
|
[求助]用汇编写的程序如何减少内存占用?
是啊,我也加了参数,还是接近1M的内存消耗 |
|
Google™ Code Jam - 中国编程挑战赛 [推荐][注意]
WordPath是记忆化搜索。我退役以后太久没练习,发现超时就在想有没有其他复杂度低的算法,没有向算法优化的方向想。。。比赛结束后睡了一觉,醒来一想就想到了,如果当时想到的话,修改程序都不用超过1分钟应该就可以过了。郁闷啊 250题因为一个弱智的小bug也没过system test。 完完全全的失败…… |
|
看来大家都喜欢智力题啊,我出个稍微难一点的吧
记a+b为p,a*b为q M先生说:我不知道a和b的值 => 1) q不能唯一分解为两个素数的乘积。注意到条件1<a<b,因此a、b不能为1,如果q可以分解成两个素数,那只可能是a和b,没有第二种分解形式。换句话说,q至少有3个素因子(可重复) 2) q不是某个素数的立方。否则可以马上推断出a为那个素数,b为他的平方 S先生说:我也不知道,而且一开始我就知道你不知道 => 3) p的任何和式分解得到的数x,y,x*y都满足1) 2)。否则S先生不敢说M先生肯定不知道 M先生说:我现在知道a和b的值了 => 4) q正好有三个素因子(且他们不全部相等) 5) 把q分解为两个整数的积,在所有6种分解方法中,只有一种分解方式,两个乘数的和可以满足条件3) S先生说:我现在也知道a和b的值了 => 6) p的所有和式分解得到的x,y,只有一种构成的积可以满足条件4)和5) 这些条件不知道还能不能得到进一步结论。程序也不知道怎么写,如果模拟的话,S先生的那两句话得出的条件可能会导致TLE的,不知道怎么优化 |
|
Google™ Code Jam - 中国编程挑战赛 [推荐][注意]
tc的系统还是不错的,可能就是中国连到美国的网络带宽不怎样。用http tunnel相对会好一点 |
|
[转帖+请教]一道题
递推吧,假设m*n的格子有F(m,n)个四边形,然后分别考虑F(m+1,n)和F(m,n+1)的递推式。分矩形、四边形和梯形三种情况来考虑,递推式就不难写出了。 有了递推式,解出直接运算的式子也好,用动态规划求解也好,都没有问题了。 |
|
|
|
[分享]Reflector 完整源代码.
其实还不完整。核心的功能还没有解出来 |
|
|
|
|
|
[原创]od批量注释插件下载(11.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 }}
勋章
兑换勋章
证书
证书查询 >
能力值