UVA12719 Fill the Cuboid

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=823&page=show_problem&problem=4457 [PDF](https://uva.onlinejudge.org/external/127/p12719.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12719/552145d4b96a34e86f9338701023d945d9faf214.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12719/258b7f2b636b7c8ecf8c37a550c9ba5519134245.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12719/666c66e91f9e7eb2568029c8f1c195de261311ce.png)