Nyoj 570 Euler function summation "Eulerian function summation"

Source: Internet
Author: User

I just want to say that the data is too weak to explode.



Euler function summation time limit: +Ms | Memory Limit:65535KB Difficulty:3
Describe

The topic description is very simple, find out

(PS: The above equation means that the sum of the Euler functions of all d is greater than 0 and divisible by N).

Input
one number n (n<2^31) per line, and the input ends at the end of the file.
Output
each result occupies one row.
Sample input
1212
Sample output
018
Source
RIHKDDD Original
Uploaded by
rihkddd





Nyoj 570 Euler function summation "Eulerian function summation"

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.