Logo
(追記) (追記ここまで)

6966번 - Cross-Number Puzzle 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB124796161.616%

문제

Write a program to print:

  1. The perfect numbers between 1ドル,000円$ and 9ドル,999円$ 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, 6ドル$ is a perfect number since 1ドル + 2 + 3 = 6$.
  2. All integers between 100ドル$ and 999ドル$ inclusive which are equal to the sum of the cubes of their digits.

입력

There is no input.

출력

All the perfect numbers between 1ドル,000円$ and 9ドル,999円$ inclusive on one line, followed by all integers between 100ドル$ and 999ドル$ inclusive which are equal to the sum of the cubes of their digits on one line.

제한

힌트

출처

Olympiad > Canadian Computing Competition & Olympiad > 1998 > CCC 1998 2번

채점 및 기타 정보

  • 예제는 채점하지 않는다.
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /