Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcygan/protohackers
protohackers
https://github.com/wcygan/protohackers
Last synced: 2 days ago
JSON representation
protohackers
- Host: GitHub
- URL: https://github.com/wcygan/protohackers
- Owner: wcygan
- Created: 2024-01-02T14:07:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-02T15:36:41.000Z (11 months ago)
- Last Synced: 2024-06-21T02:11:16.588Z (5 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Protohackers
Solutions to the [Protohackers Challenges](https://protohackers.com/).
## Deployment
Run `main.go` in any of the challenges directories.
```bash
go run main.go
```## Testing
Use `telnet` to connect to the server.
```bash
telnet hostname 8080
```## Server Hosting
https://protohackers.com/faq
> Do I have to host the server myself?
I use a [Virtual Machine on Azure](https://azure.microsoft.com/en-us/products/virtual-machines).
To host the server for this project, I've [installed Go](https://go.dev/dl/) on the VM, I've cloned this
repository, and I've run `go run main.go` in the challenge directory.Once the server is running, I've exposed the port `8080` to the internet.
After this, I'm able to use `telnet` to connect to the server & run the solution checker against my server.