2013年11月15日

A. Two Semiknights Meet DFS

摘要: A. Two Semiknights Meettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA boy Petya loves chess very much. He even came up with a chess piece of his own, a semiknight. The semiknight can move in any of these four directions:2squares forward and2squ 阅读全文

posted @ 2013-11-15 20:39 keep trying 阅读(318) 评论(0) 推荐(0)

Dummy Guy 几何

摘要: Dummy GuyTime Limit:500MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1984DescriptionEvery year students of our university participate in Regional Contest in Saint Petersburg. Train journeys from Yekaterinburg to Saint Petersburg make students very thirsty, so they u 阅读全文

posted @ 2013-11-15 14:49 keep trying 阅读(334) 评论(0) 推荐(0)

Electrification Plan MST

摘要: Electrification PlanTime Limit:500MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1982DescriptionSome country hasncities. The government has decided to electrify all these cities. At first, power stations inkdifferent cities were built. The other cities should be conn 阅读全文

posted @ 2013-11-15 14:48 keep trying 阅读(217) 评论(0) 推荐(0)

Parallel and Perpendicular 几何,数学

摘要: Parallel and PerpendicularTime Limit:500MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1981DescriptionYou are given a regularn-gon. Your task is to calculate two values: the number of its diagonals that are parallel to at least one of its other diagonals, and the num 阅读全文

posted @ 2013-11-15 14:47 keep trying 阅读(244) 评论(0) 推荐(0)

导航