Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marccarre/google-code-jam
Google Code Jam
https://github.com/marccarre/google-code-jam
code-jam codejam2020 competitive-programming
Last synced: 24 days ago
JSON representation
Google Code Jam
- Host: GitHub
- URL: https://github.com/marccarre/google-code-jam
- Owner: marccarre
- License: apache-2.0
- Created: 2020-04-05T05:05:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-14T08:05:45.000Z (over 2 years ago)
- Last Synced: 2024-10-04T10:42:02.543Z (about 1 month ago)
- Topics: code-jam, codejam2020, competitive-programming
- Language: Python
- Size: 110 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Code Jam
## Develop
### Pre-requisites
- Python 3
- `pip`### Setup
```console
pip install --upgrade pipenv
pipenv shell
pipenv install --dev
```### Test
```console
$ pytest
============================= test session starts ==============================
platform darwin -- Python 3.7.7, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: ${HOME}/google-code-jam
collected 7 itemstests/cj2019/foregone_solution_test.py . [ 14%]
tests/cj2020/qualif/incidium_test.py ... [ 57%]
tests/cj2020/qualif/nesting_depth_test.py . [ 71%]
tests/cj2020/qualif/parenting_partnering_returns_test.py . [ 85%]
tests/cj2020/qualif/vestigium_test.py . [100%]============================== 7 passed in 0.07s ===============================
```### Run
```console
$ python cj2020/qualif/incidium.py < tests/cj2020/qualif/incidium.txt
Case #1: POSSIBLE
1 3 2
3 2 1
2 1 3
Case #2: IMPOSSIBLE
```## 2020
- [Leaderboard](https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd27)
- Qualification Round: #2151 / 40697