https://github.com/tsugitta/atcoder
AtCoder with C++, Go, & Rust
https://github.com/tsugitta/atcoder
atcoder cpp go rust
Last synced: 3 months ago
JSON representation
AtCoder with C++, Go, & Rust
- Host: GitHub
- URL: https://github.com/tsugitta/atcoder
- Owner: tsugitta
- Created: 2019-06-13T19:12:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T02:34:31.000Z (about 3 years ago)
- Last Synced: 2025-10-11T11:51:37.491Z (6 months ago)
- Topics: atcoder, cpp, go, rust
- Language: C++
- Homepage:
- Size: 1.77 MB
- Stars: 11
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AtCoder challenge. mainly with C++, Go, & Rust.
https://atcoder.jp/users/tsugitta
## Structure
```
└── contests
└── contest_name
└── problem_id
├── // common
├── test.yaml
├── // for C++
├── main.cpp
├── main.h
├── test.cpp
├── // for Go
├── main.go
├── main_test.go
├── // for Rust
├── Cargo.toml
├── main.rs
└── main_test.rs
```
- main.cpp, main.go, main.rs are the codes to submit
- test.yaml is test cases of stdin / stdout of the problem
- others are for the test which validates the stdin / stdout with the test case
## Generator
in the root dir, run
```
$ go run generator/main.go https://atcoder.jp/contests/foo/tasks/bar
```
and you can get the files noted above with the test cases shown at the page.
If the contet is in session, login is necessary to scrape the questions.
to provide the scraper with the login information, set below as environment variables.
```
ATCODER_USERNAME=foo
ATCODER_PASSWORD=bar
```