Cross-Number Puzzle
시간 제한: 1000ms메모리 제한: 128MB출처: CCC 1998BOJ 6966
문제
Write a program to print:
- The perfect numbers between and inclusive. A perfect number is a positive integer which is equal to the sum of its proper divisors. A proper divisor is any divisor less than the number itself. For example, is a perfect number since .
- All integers between and inclusive which are equal to the sum of the cubes of their digits.
입력
There is no input.
출력
All the perfect numbers between and inclusive on one line, followed by all integers between and inclusive which are equal to the sum of the cubes of their digits on one line.
이 문제는 채점 준비 중입니다. 테스트 데이터가 확보되면 제출이 가능합니다.