GithubHelp home page GithubHelp logo

m0ch1m0ch1 / ac-deck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sachaos/ac-deck

0.0 0.0 0.0 7.13 MB

Unofficial CLI for AtCoder users.

License: Apache License 2.0

Ruby 0.15% C++ 0.60% Python 0.33% C 0.18% Java 0.25% Go 95.38% C# 0.29% Rust 0.33% Makefile 0.40% Dockerfile 2.09%

ac-deck's Introduction

AC Deck

Unofficial CLI for AtCoder users.

Demo

demo

Features

  • Template (built-in)
  • Run test on Docker or Native
  • Submit code to AtCoder
  • Support major languages (If you want to add another languages, please send PR.)

Install

Linux

Download binary from Release page

$ curl -L -o ./ac-deck.tar.gz https://github.com/sachaos/ac-deck/releases/download/v0.3.4/ac-deck_0.3.4_Linux_x86_64.tar.gz && mkdir ./ac-deck-bin && tar xvzf ./ac-deck.tar.gz -C ./ac-deck-bin && sudo mv ./ac-deck-bin/acd /usr/local/bin/acd && sudo chmod +x /usr/local/bin/acd

Mac OS X

$ brew install sachaos/tap/ac-deck

Build it yourself

You need go 1.13.

$ git clone https://github.com/sachaos/ac-deck.git
$ cd ac-deck
$ make install

Setup

Configure authentication information

$ acd config

WARNING: This software store raw authentication information on ~/.ac-deck.toml. This is not secure. Please understand this behavior, and use carefully. Please contribute if you interest to fix this behavior.

Install test runnder

$ acd install python3

Usage

Prepare to solve problems

$ acd prepare abc153

Specify language to solve

$ acd prepare --language python3 abc153

Browse problem (on web browser)

$ acd abc153/abc153_a browse

Edit code

$ acd abc153/abc153_a edit

You can customize the editor by $EDITOR environment variable.

Test

$ acd abc153/abc153_a test

Submit if test passed

$ acd abc153/abc153_a submit

Submit without test

$ acd abc153/abc153_a submit --skip-test

Supporting Language

AtCoder Languages and Compiler options

  • C++ (GCC 9.2.1)
  • Python3 (3.8.2)
  • Go (1.14.1)
    • You cannot use gonum, gods now.
  • Rust (1.42.0)

ac-deck's People

Contributors

5n7-sk avatar kentaasamura avatar m0ch1m0ch1 avatar sachaos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.