Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codekitchen/protohackers
my solutions for some https://protohackers.com problems
https://github.com/codekitchen/protohackers
protohackers
Last synced: about 2 months ago
JSON representation
my solutions for some https://protohackers.com problems
- Host: GitHub
- URL: https://github.com/codekitchen/protohackers
- Owner: codekitchen
- Created: 2023-12-27T18:20:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T17:30:05.000Z (4 months ago)
- Last Synced: 2024-09-17T22:49:41.131Z (4 months ago)
- Topics: protohackers
- Language: Ruby
- Homepage: https://protohackers.com
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Protohackers Coding Problems
https://protohackers.com
## Notes
MacOS can't handle the connection storm for problem 9. TODO: try to fix limits to see if that helps:
```bash
# https://josephmate.github.io/2022-04-14-max-connections/
# For a bigSur 11.4 Mac, you can increase the file descriptor limit with:> sudo sysctl kern.maxfiles=2000000 kern.maxfilesperproc=2000000
kern.maxfiles: 49152 -> 2000000
kern.maxfilesperproc: 24576 -> 2000000
> sysctl -a | grep maxfiles
kern.maxfiles: 2000000
kern.maxfilesperproc: 1000000> ulimit -Hn 2000000
>ulimit -Sn 2000000
```But for now I solved it by spinning up an EC2 t2.micro instance and running the server there.