摘要:
Problem A: The MonocycleA monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with five different colors as shown in the figure:The colored segments make equal angles (72o) at the center. A monocyclist rides this cycle o. 阅读全文
posted @ 2013-08-21 02:24
Ramanujan
阅读(228)
评论(0)
推荐(0)
摘要:
Problem B: Fire! Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help Joe escape the maze.Given Joe's location in the maze and which squares of the maze are on fire, you must determine whether Joe can 阅读全文
posted @ 2013-08-21 02:19
Ramanujan
阅读(276)
评论(0)
推荐(0)
摘要:
Problem D: The NecklaceMy little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. The figure below shows a segment of the necklace:But, alas! One day, the necklace was torn and the beads were all scattered ove. 阅读全文
posted @ 2013-08-21 02:08
Ramanujan
阅读(265)
评论(0)
推荐(0)
摘要:
Given a sequence of integers, a1, a2,..., an , we define its sign matrix S such that, for 1ijn , Sij = `` + " if ai +...+ aj > 0 ; Sij = `` - " if ai +...+ aj #include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;#define MAX_ 阅读全文
posted @ 2013-08-21 02:05
Ramanujan
阅读(320)
评论(0)
推荐(0)

浙公网安备 33010602011771号