UVa-clockhands (Water ver.)

Source: Internet
Author: User
Tags time limit

579-clockhands

Time limit:3.000 seconds

Http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem &problem=520

The medieval interest in mechanical contrivances is-illustrated by the development of mechanical, the clock T of which is driven by weights and controlled by a verge, a oscillating arm engaging with a gear wheel. It dates back to 1386.

Clocks driven by springs had appeared through the mid-15th century, making it possible to con-struct more compact mechanisms A nd preparing the way for the portable clock.

中文版 Spring-driven pendulum clocks were the commonly on a kept small wall and bracket on a later. Many bracket clocks contained a drawer to hold the winding key. The earliest bracket clocks, made for a period after 1660, were of architectural design, with pillars at the sides and a P Ediment on top.

In 17th-and 18th-century France, the table clock became a object monumental design, the best examples of which are MI nor works of sculpture.

The Longcase clocks (also called grandfather clocks) are tall pendulum clock enclosed in a wooden case that stands upon th E floor and is typically from 6 to 7.5 feet (1.8 to 2.3 m) in height. Later, the name ' grandfather Clock ' became popular after the popular song "I Grandfather ' Clock," written in 1876 by H Enry Clay Work.

One of the The atomic clocks was a ammonia-controlled clock. It is built in 1949 to the National Bureau of Standards, Washington, D.C.; In this clock the frequency did is not vary by more than one part in8

Nuclear clocks are built using two clocks. The aggregate of atoms that emit the gamma radiation of precise frequency is called the emitter; The group of atoms that absorb this radiation is the absorber clock. One pair of these nuclear clocks can detect energy changes to one part, being about 1,000 times more Sen Sitive than the best atomic clock.

The cesium clock is the most accurate type of clock yet developed. This device makes use of transitions between the spin states of the cesium nucleus and produces a frequency which are so re Gular that it has been adopted for establishing the time standard.

The history of clocks is fascinating, but unrelated to this problem. In this problem, your are asked to find the angle between the minute hand and the hour hand on a regular analog. Assume that's second hand, if there were one, would be pointing to straight up at the 12. Give all angles as the smallest positive angles. For example 9:00 is degrees; Not-90 or 270 degrees.

Input

The input is a list of the "their own" in the form H:M

and

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.