摘要:        
http://acm.hdu.edu.cn/showproblem.php?pid=2553 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任务是,对于给定的N,求出有多少种合法的放置方法。 Input 共有    阅读全文
posted @ 2017-03-11 11:55
kimsimple
阅读(207)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://acm.hdu.edu.cn/showproblem.php?pid=1016 Sample Input 6 8 6 8 Sample Output Case 1: 1 4 3 2 5 6 1 6 5 2 3 4 Case 2: 1 2 3 8 5 6 7 4 1 2 5 8 3 4     阅读全文
posted @ 2017-03-11 11:24
kimsimple
阅读(196)
评论(0)
推荐(0)
        
            
        
        
摘要:        
全排列输入一个数n,按字典序输出1-n的全排列    阅读全文
posted @ 2017-03-11 11:11
kimsimple
阅读(427)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://acm.hdu.edu.cn/showproblem.php?pid=1241 题意:求几个油田    阅读全文
posted @ 2017-03-11 10:43
kimsimple
阅读(145)
评论(0)
推荐(0)
        
            
        
        
摘要:        
L3-003. 社交集群 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 1000 ms 时间限制 1000 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 8    阅读全文
posted @ 2017-03-11 09:05
kimsimple
阅读(1502)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号