【文件属性】:
文件名称:来临
文件大小:160KB
文件格式:ZIP
更新时间:2021-02-23 12:15:36
Python
阿德里安的代码出现
像个白痴一样,我将尝试在Python(我知道)和Rust(我不知道)中做到这一点。
Python
Python在Poetry项目中。
开始 ...
cd python
poetry install
poetry shell
# Run tests to get the answers
# use -s or --nocapture because the answers are printed to STDOUT by the tests
nosetests -s tests/day_01/test_advent_01.py
锈
Rust是正常的Rust种项目。
cd rust
cargo run
# OR
cargo build --release
time ./target/release/advent # for speed bragging rights