Shi's profile满脑浆糊的病猪的窝PhotosBlogLists Tools Help

Blog


    9/20/2006

    GCJ06 Over...

    希望越大,失望越大,Google CodeJam 2006 Round2。
    第一题被cha,system testing开始前虽然只排在121位,但是还是很有信心进入前100名去onsite finals。这时我和bug,rocking还有dy排名都差不多,我坚信如果后两题都pass一定可以晋级。没想到第三题居然fail...好久没有在TC的比赛里fail,这次最关键的时候居然失手了。
    第三题是说给定一个树,树的边有权值,求一个包含最多顶点的子树,这棵子树要包括给定的一个起点,且树中的边的总权值不大于给定的一个上限。简单的DP树形DP。我的程序DP的时候没有把原来的值备份,而更新值的方向也没有选好,会在同一层里把更新过的值再次使用。如果把原来的值复制一份就pass了,好可惜。这题的失误主要是读题时没有看清楚,看漏了给定的是一棵树的条件,还以为是无向图,浪费了很多时间,看清楚以后就疯狂敲程序,能通过所有sample的时候剩下的时间已经只有6分钟,没有再仔细看一遍代码就匆匆提交了。
    bug的第三题也fail,没能入围,rocking和dy进入了决赛,预祝他们在决赛里取得好名次。
    想参加GCJ的finals只有等明年了,过两天还有TCCC的比赛,不过TCCC只能有48人去现场,基本没什么希望。

    Comments (6)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Yiwrote:
     不用每年去N次美国吧,你也给点别人去玩的机会呀!!!
    Sept. 26
    蝈 蝈wrote:
    实哥还年青 大把机会拉
    Sept. 21
    Shi Chenwrote:
    tjq:
      你都onsite拿过前4的啦,我还没去过一次呢,仰慕啊...

    帆:
      在纽约的google分部啊,没得去了,555...


    panda:
      我都很少交1000,所以没有fail,哈哈。
    Sept. 20
    Yiming Liwrote:
    我更惨,我最近3次比赛的1000全部失手,而且全是5byte内的弱智错误。。。。。。
    Sept. 20
    帆 林wrote:
    挺可惜的啊~
     
    对了,实哥,这次在哪里比赛呢?
    Sept. 20
    Jiqing Tangwrote:
    我更惨。。。连死的机会都没
    Sept. 20

    Trackbacks

    The trackback URL for this entry is:
    http://iamcs1983.spaces.live.com/blog/cns!957D36BE3F0D71AC!561.trak
    Weblogs that reference this entry
    • None