https://github.com/toyboot4e/abc-hs
AtCoder Beginner Contest in Haskell
https://github.com/toyboot4e/abc-hs
Last synced: about 1 year ago
JSON representation
AtCoder Beginner Contest in Haskell
- Host: GitHub
- URL: https://github.com/toyboot4e/abc-hs
- Owner: toyboot4e
- Created: 2022-06-11T06:23:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-02T16:10:17.000Z (over 1 year ago)
- Last Synced: 2025-03-15T23:28:32.915Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 21.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Atcoder beginner contest in Haskell
:acc: https://github.com/Tatamo/atcoder-cli[acc]
:toy-lib: https://github.com/toyboot4e/toy-lib[toy-lib]
Based on {acc}. My library can be found on {toy-lib}.
== Setting up
See link:./_acc/README.adoc[].
== How to use
=== New contest
[source,sh]
----
$ ./new abc100
$ cd abc100
$ tree
abc100
├── a
│ ├── Main.hs
│ └── test-cases
│ ├── sample-1.in
│ ├── sample-1.out
│ ├── sample-2.in
│ ├── sample-2.out
│ ├── sample-3.in
│ └── sample-3.out
├── b
│ ├── Main.hs
│ └── test-cases
│ ├── sample-1.in
│ ├── sample-1.out
│ ├── sample-2.in
│ ├── sample-2.out
│ ├── sample-3.in
│ └── sample-3.out
├── c
│ ├── Main.hs
│ └── test-cases
│ ├── sample-1.in
│ ├── sample-1.out
│ ├── sample-2.in
│ ├── sample-2.out
│ ├── sample-3.in
│ └── sample-3.out
├── contest.acc.json
├── d
│ ├── Main.hs
│ └── test-cases
│ ├── sample-1.in
│ ├── sample-1.out
│ ├── sample-2.in
│ ├── sample-2.out
│ ├── sample-3.in
│ ├── sample-3.out
│ ├── sample-4.in
│ └── sample-4.out
├── hie.yaml
├── package.yaml
└── stack.yaml
8 directories, 34 files
----
=== Test
Get into the problem directory first:
[source,sh]
----
$ cd abc100
----
Run the `test` script in the root of the repository:
[source,sh]
----
$ ../test a
----
=== Submission
[source,sh]
----
$ ../submit a
----
=== I want to use GHC 9.4.5, but only in this repository
https://direnv.net/[direnv] just works as a temporary workaround.