Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nguyenvukhang/aquarium
https://github.com/nguyenvukhang/aquarium
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nguyenvukhang/aquarium
- Owner: nguyenvukhang
- Created: 2023-04-18T14:11:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-14T14:51:29.000Z (about 1 year ago)
- Last Synced: 2024-05-01T17:27:40.629Z (8 months ago)
- Language: Swift
- Homepage: https://aquarium2.vercel.app
- Size: 4.22 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aquarium Solver
## Problem Set Source
To obtain sample problems, use the
`https://aquarium2.vercel.app/api/get` API endpoint.```
https://aquarium2.vercel.app/api/get?id=MDo4LDM0MCw5OTA=
```The response will take this shape:
```json
{
"id": "MDo2LDA3MCw1NzI=",
"size": 6,
"sums": {
"cols": [2, 4, 5, 5, 4, 2],
"rows": [4, 3, 4, 4, 2, 5]
},
"matrix": [
[1, 2, 2, 2, 2, 3],
[1, 1, 2, 4, 2, 3],
[1, 2, 2, 4, 4, 3],
[1, 2, 2, 2, 2, 3],
[1, 5, 5, 5, 6, 3],
[1, 1, 1, 5, 6, 3]
]
}
```As specified in the [API endpoint](problemset/pages/api/get.ts)