数字谜 Digit Puzzle
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=243&page=show_problem&problem=3259
[PDF](https://uva.onlinejudge.org/external/121/p12107.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12107/739e13cfb4c5c59bb6cad144cda9bc8a30833238.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12107/951f2b23667682f65c5b9b458e3202e6b9b36c81.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12107/00903a7167dd41cc46f6ddf45d2246c3da12d495.png)
输入输出样例
输入样例 #1
7 ** 8*
** ** ***
0
输出样例 #1
Case 1: 7 ** 8*
Case 2: ** ** 1*1