抽奖 Honorary Tickets
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=226&page=show_problem&problem=2995
[PDF](https://uva.onlinejudge.org/external/118/p11895.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11895/62b6602f5154b04b821dcb5f7fdf0d8b08664b68.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11895/fb19ab3d7ea2f7b0267ccc48ebe63811f3655fd0.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11895/da5c01f67dfce88ff751823e9d1c9c28f9a61cfa.png)
输入输出样例
输入样例 #1
3
2 1
1 1
2 1
2 2
2 2
6 4
1 3
6 4
输出样例 #1
1/1
2/3
25/54