设为首页 加入收藏

TOP

hdu 1016 Prime Ring Problem (dfs)
2015-07-24 07:08:27 来源: 作者: 【 】 浏览:77
Tags:hdu 1016 Prime Ring Problem dfs

一切见注释。


#include 
  
   
#include 
   
     #include 
    
      #include 
     
       using namespace std; bool vis[22]; int n; int ans[22]; int top; bool isprime(int x)//判断素数 { for(int i=2;i
      
       

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇poj 3621 Sightseeing Cows(最优.. 下一篇ZOJ 3765 Lights Splay Tree的几..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: