feat: enable new langs (#42491)

Enable italian and portuguese
This commit is contained in:
Nicholas Carrigan (he/him)
2021-06-15 00:49:18 -07:00
committed by GitHub
parent d8d6d20793
commit f25e3e69f8
3301 changed files with 423168 additions and 6 deletions

View File

@ -0,0 +1,42 @@
---
id: 5900f3d91000cf542c50feea
title: 'Problem 107: Minimal network'
challengeType: 5
forumTopicId: 301731
dashedName: problem-107-minimal-network
---
# --description--
The following undirected network consists of seven vertices and twelve edges with a total weight of 243.
The same network can be represented by the matrix below. ABCDEFG A-161221--- B16--1720-- C12--28-31- D211728-181923 E-20-18--11 F--3119--27 G---231127- However, it is possible to optimise the network by removing some edges and still ensure that all points on the network remain connected. The network which achieves the maximum saving is shown below. It has a weight of 93, representing a saving of 243 93 = 150 from the original network.
Using network.txt (right click and 'Save Link/Target As...'), a 6K text file containing a network with forty vertices, and given in matrix form, find the maximum saving which can be achieved by removing redundant edges whilst ensuring that the network remains connected.
# --hints--
`euler107()` should return 259679.
```js
assert.strictEqual(euler107(), 259679);
```
# --seed--
## --seed-contents--
```js
function euler107() {
return true;
}
euler107();
```
# --solutions--
```js
// solution required
```