题目链接:http://poj.org/problem?id=1077 Eight Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33267 Accepted: 14404 Special Judge Description The 15-puzzle has been around for over 100 years; even if you don't know it by that name, you'v…
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvZ3VvcnVkaQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEas…
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1312 Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25397 Accepted Submission(s): 15306 Problem Description There is a rectangula…