TOJ 1398.Square(DFS+减枝经典题目)
题目链接 : http://acm.tju.edu.cn/toj/showp1398.html
Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square?
The first line of input contains N, the number of
原创
2016-07-30 22:18:08 ·
398 阅读 ·
0 评论