LoginSignup
3

More than 5 years have passed since last update.

競技プログラミング時にプログラム以外で役立つもの

Last updated at Posted at 2012-06-19

任意のinput.txtとc.cppを用意する。
そして以下のシェルスクリプトを実行

test.sh
#!/bin/sh
g++ c.cpp -o c
cat input.txt | ./c > out.txt

out.txtが出力される。
便利!!

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3