** -*- koshu -*-
p : source P /a /b
q : source Q /b /c
|== R : p | meet q
** -*- koshu -*-
|-- P /a 10 /b 40
|-- Q /b 40 /c 80
Command koshu calc.k A.k
produces:
** -*- koshu -*-
**
** INPUT
** calc.k
** A.k
**
** OUTPUT
** <stdout>
**
|-- R /c 80 /a 10 /b 40
*** 1 judge
**
** SUMMARY
** 1 judge on R
** 1 judge in total
**
** -*- koshu -*-
|-- P /a 10 /b 40
|-- P /a 10 /b 50
|-- P /a 20 /b 50
|-- Q /b 40 /c 80
|-- Q /b 50 /c 80
|-- Q /b 60 /c 80
Command koshu calc.k B.k
produces:
** -*- koshu -*-
**
** INPUT
** calc.k
** B.k
**
** OUTPUT
** <stdout>
**
|-- R /c 80 /a 10 /b 40
|-- R /c 80 /a 10 /b 50
|-- R /c 80 /a 20 /b 50
*** 3 judges
**
** SUMMARY
** 3 judges on R
** 3 judges in total
**
** -*- koshu -*-
|-- P /a 30 /b 40
|-- P /a 30 /b 50
|-- P /a 40 /b 50
Command koshu calc.k C.k
produces:
** -*- koshu -*-
**
** INPUT
** calc.k
** C.k
**
** OUTPUT
** <stdout>
**
*** no judges
**
** SUMMARY
** no judges on R
** no judges in total
**
** -*- koshu -*-
|-- P /a 10 /b 40
|-- P /a 10 /b 50
|-- P /a 20 /b 50
|-- Q /b 40 /c 80
|-- Q /b 50 /c 80
|-- Q /b 60 /c 80
** -*- koshu -*-
|-- P /a 30 /b 40
|-- P /a 30 /b 50
|-- P /a 40 /b 50
Command koshu calc.k B.k C.k
produces:
** -*- koshu -*-
**
** INPUT
** calc.k
** B.k
** C.k
**
** OUTPUT
** <stdout>
**
|-- R /c 80 /a 10 /b 40
|-- R /c 80 /a 10 /b 50
|-- R /c 80 /a 20 /b 50
|-- R /c 80 /a 30 /b 40
|-- R /c 80 /a 30 /b 50
|-- R /c 80 /a 40 /b 50
*** 6 judges
**
** SUMMARY
** 6 judges on R
** 6 judges in total
**
This document is produced by the command:
koshu-inout.sh -o ARGS.md -f ARGS koshu calc.k