摘要: 一、向量范数 (1) 1-范数:所有分量的和 (2) 2-范数:所有分量的平方和的开平方 (3) 无穷范数:所有分量的最大值 (4) p-范数:所有分量的p次方和的开p次方 阅读全文
posted @ 2016-07-13 16:12 follow your dreams 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 最短路Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15312Accepted Submission(s): 6497Problem Description在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗?Input输入包括多组数据。每组数据第一行是两个整数N、M(N<=100,M 阅读全文
posted @ 2012-08-21 21:48 follow your dreams 阅读(108) 评论(0) 推荐(0) 编辑
摘要: A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3437Accepted Submission(s): 1262Problem DescriptionJimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To relax after a 阅读全文
posted @ 2012-08-21 18:58 follow your dreams 阅读(106) 评论(2) 推荐(0) 编辑
摘要: 棋盘覆盖问题Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KBTotal submit users: 65, Accepted users: 26Problem 10432 : No special judgementProblem description在一个2k x 2k ( 即:2^k x 2^k )个方格组成的棋盘中,恰有一个方格与其他方格不同,称该方格为一特殊方格,且称该棋盘为一特殊棋盘。在棋盘覆盖问题中,要用图示的4种不同形态的L型骨牌覆盖给定的特殊棋盘上除特殊方格以外的所有方格,且任何2个L型骨牌 阅读全文
posted @ 2012-08-21 09:56 follow your dreams 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Find them, Catch themTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 21916Accepted: 6523DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify 阅读全文
posted @ 2012-08-16 09:52 follow your dreams 阅读(172) 评论(0) 推荐(0) 编辑