Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-145-how-many-reversible-numbers-are-there-below-one-billion.md

26 lines
606 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: 5900f3fd1000cf542c50ff10
title: 问题145有多少可逆数字低于十亿
challengeType: 5
videoUrl: ''
---
# --description--
一些正整数n具有sum \[n + reversen]完全由奇数十进制数字组成的属性。例如36 + 63 = 99和409 + 904 = 1313.我们将这些数字称为可逆的;所以36,63,409和904是可逆的。 n或反向n中不允许前导零。
有一千个可逆数字低于一千。
有多少可逆数字低于十亿109
# --hints--
`euler145()`应该返回608720。
```js
assert.strictEqual(euler145(), 608720);
```
# --solutions--