摘要:
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 阅读全文
摘要:
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 . 阅读全文