chore(i8n,learn): processed translations
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
15047f2d90
commit
e5c44a3ae5
@ -1,24 +1,28 @@
|
||||
---
|
||||
id: 5900f4c21000cf542c50ffd4
|
||||
title: 问题340:疯狂的功能
|
||||
title: 'Problem 340: Crazy Function'
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
forumTopicId: 301999
|
||||
dashedName: problem-340-crazy-function
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
对于固定整数a,b,c,定义疯狂函数F(n)如下:F(n)= n - c表示所有n> b F(n)= F(a + F(a + F(a +)所有n≤b的F(a + n))))。
|
||||
For fixed integers a, b, c, define the crazy function F(n) as follows:
|
||||
|
||||
另外,定义S(a,b,c)=。
|
||||
F(n) = n - c for all n > b
|
||||
|
||||
例如,如果a = 50,b = 2000且c = 40,则F(0)= 3240并且F(2000)= 2040.此外,S(50,2000,40)= 5204240。
|
||||
F(n) = F(a + F(a + F(a + F(a + n)))) for all n ≤ b.
|
||||
|
||||
找到S(217,721,127)的最后9位数。
|
||||
Also, define S(a, b, c) = .
|
||||
|
||||
For example, if a = 50, b = 2000 and c = 40, then F(0) = 3240 and F(2000) = 2040. Also, S(50, 2000, 40) = 5204240.
|
||||
|
||||
Find the last 9 digits of S(217, 721, 127).
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler340()`应返回291504964。
|
||||
`euler340()` should return 291504964.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler340(), 291504964);
|
||||
|
Reference in New Issue
Block a user