UVA11618 The Amazing Triangle Counting Machine
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2665
[PDF](https://uva.onlinejudge.org/external/116/p11618.pdf)

Input Format

Output Format
