Skip to content

itohdak/AtCoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sources for AtCoder programming contests

Links

Quick Usage

$ git clone https://github.com/itohdak/AtCoder.git
$ cd AtCoder

# define function "mkdir_atcoder" in .bashrc
# add AtCoder/include to $CPATH in .bashrc
$ source setup.sh
$ exec bash

$ mkdir_atcoder [folder_name]
# you can see a new folder named [folder_name] which includes sample cpp files

Utils

pbcopy

You can copy your codes into the clipboard and paste them with Ctrl-V

How to enable

Add following lines to ~/.bashrc

# copy to clipboard
alias pbcopy='xsel --clipboard --input'

Before using it, you may first need to install xsel with a following command

$ sudo apt install xsel

Sample Usage

$ cat A.cpp | pbcopy
# Ctrl-V on where you like to paste the codes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages