GithubHelp home page GithubHelp logo

splatcoder's Introduction

Splatcoder

This Python package is similar to https://github.com/kyuridenamida/atcoder-tools but simpler version with fewer functionality. If you happen to find this repository, please use the above atcoder-tools first since this is just for myself.

I also found a similar npm project. Google it.

Installation

Installing from pypi

This package is not registered at pypi.

Installing from source

pip install git+https://github.com/RyoMazda/splatcoder

Usage

start-contest

splat start-contest https://atcoder.jp/contests/abc174
# Or for short
splat c abc174

A directory named abc174 will be splatted and it contains x.cpp for x in a, b, c, etc.

start-task

splat start-task https://atcoder.jp/contests/abc174/tasks/abc174_a
# Or for short
splat t abc174/tasks/abc174_a

After this, you'll see a file named abc174_a.cpp splatted at the current directory. If the name of the current directory is abc174, file name becomes a.cpp.

check sample inputs

splat x.cpp

This builds the x.cpp file, executes it for the given test cases and the results will be splatted on the standard output.

Configuration

Every splat command starts from reading config file that is located at ${HOME}/.splatconfig.yml by default. You can change the location by setting the environment variable SPLAT_CONFIG_PATH.

!splatcoder_config
build_command: "g++ -std=c++14"
template_path:
username: "pigimaru"
password: "xxxxxxxxxxxx"

Note that

  • the first line is necessary for the yaml loader implemented at splatcoder/config.py.
  • username and password are necessary for generating templates from the ongoing contest's page.

splatcoder's People

Contributors

ryomazda avatar

Watchers

 avatar

splatcoder's Issues

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.