摘要: Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 8109 Accepted: 3551 Special Judge Description Bessie's been appointed the new watch-cow for 阅读全文
posted @ 2017-08-01 16:22 joeylee97 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Bellman_ford算法用于寻找正环或者负环! 算法导论: 24.1 The Bellman-Ford algorithm The Bellman-Ford algorithm solves the single-source shortest-paths problem in the gene 阅读全文
posted @ 2017-08-01 12:46 joeylee97 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Description Consider the following 5 picture frames placed on an 9 x 8 array. ........ ........ ........ ........ .CCC.... EEEEEE.. ........ ........ 阅读全文
posted @ 2017-08-01 10:47 joeylee97 阅读(194) 评论(0) 推荐(0) 编辑
摘要: An Arc of Dream is a curve defined by following function: where a 0 = A0 a i = a i-1*AX+AY b 0 = B0 b i = b i-1*BX+BY What is the value of AoD(N) modu 阅读全文
posted @ 2017-08-01 08:56 joeylee97 阅读(185) 评论(0) 推荐(0) 编辑