Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-453-lattice-quadrilaterals.md

30 lines
632 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: 5900f5311000cf542c510044
title: 问题453格子四边形
challengeType: 5
videoUrl: ''
---
# --description--
简单的四边形是具有四个不同顶点的多边形,没有直角并且不会自相交。
设Qmn为简单四边形的数量其顶点为格点坐标xy满足0≤x≤m且0≤y≤n。
例如Q2,2= 94如下所示
还可以证实Q3,7= 39590Q12,3= 309000和Q123,45= 70542215894646。
找到Q12345,6789mod 135707531。
# --hints--
`euler453()`应该返回104354107。
```js
assert.strictEqual(euler453(), 104354107);
```
# --solutions--