摘要: Six Degrees of Cowvin BaconTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1891Accepted: 886DescriptionThe cows have been making movies lately, so they are ready to play a variant of the famous game "Six Degrees of Kevin Bacon". The game works like this: each cow is considered to 阅读全文
posted @ 2012-08-17 22:25 cseriscser 阅读(375) 评论(0) 推荐(0) 编辑
摘要: Median Weight BeadTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 2356Accepted: 1182DescriptionThere are N beads which of the same shape and size, but with different weights. N is an odd number and the beads are labeled as 1, 2, ..., N. Your task is to find the bead whose weight is median . 阅读全文
posted @ 2012-08-17 21:20 cseriscser 阅读(232) 评论(0) 推荐(0) 编辑