The distance between me and her moon

Source: Internet
Author: User
Tags sin

"Title description"

"As always, the bustling tree shadow, familiar with the verdant streets of the town." The surrounding seemed to be a solidification of pure quiet time, constantly emanations the gentle fragrance. A nap kitten, a wisp of cool breeze. If I yearn for the way home, then, am I a gravitational romantic?

I parked my bike well. The spring sun through the branches, reminds me of her everyday Tian smile. But today, hey, what about Alison? I know, she yearned for distant planet, she must have gone, that can look at the night of the city's seaside. In a hazy night light, can I recognize her, lonely figure. ”

"Alison stared straight into my eyes, and even the eyes of the pupil were as deep as the alien processing. Her eyes were glowing and transparent, like water that could not be compatible with a solvent-doped drink. ”

Ellie will send an electric wave with a signal strength of sin (i) seconds.

Now known continuous n signal superposition strength p, ask Elliot from the first time to receive a signal, has been away for how long.

"Input description"

The first line enters an integer n, which indicates the collection of n-times signals;

The second line enters a real number p, which is exactly 18 digits after the decimal point, indicating the accumulated value of the sine signal.

"Output description"

Outputs a positive integer t that represents the answer.

"Input Sample"

3

0.29361493957762066612412557420803

"Output Example"

2

"Data range and Tips"

The sample can be satisfied by sin (2) +sin (3) +sin (4).

For 10% of data, n≤160;

For 30% of data, n≤2010;

For 60% of data, n≤20110414;

For 100% of data, 1≤n≤2011062220120208,t∈[1,67].

The distance between me and her moon

Related Article

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.