作者CorruptAngel (微笑面具)
看板ACMCLUB
标题Re: 即时战况
时间Thu Nov 11 19:47:21 2004
这个演算法确定是对的了
不过是要把'最晚出现'的那一片踢掉
※ 引述《CorruptAngel (微笑面具)》之铭言:
: We did so too:(
: but we still wrote a greedy search and got WA.
: ※ 引述《denehs (DE)》之铭言:
: : I create a 1-D array to record when is the next time the DVD will be
: : requested,and if it won't appear again,give it a value 110 (because the
: : max length is 100),and got WA....><..
: : We though that greedy was an incorrect algorithm,so didn't debug.......
: : (chinese typing crashed...XD)
--
手写的出你的名字,但却渐渐忘记你的样子,
就算你不曾念过我的名字,但我也仍喜欢你。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.136.198.66