会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sulley
本博客迁至 littlesulley.com
博客园
首页
新随笔
联系
订阅
管理
2017年11月2日
【POJ1308】&&【HDU1272】Is It A Tree && 小希的迷宫
摘要: //ver1:用树的性质:顶点数=边数+1,注意空树的情况 #include #include int main() { int x,y,v,e,kase=0,n[100000]; while(1){ memset(n,0,sizeof n); v=e=0; while(scanf("%d%d",&x,&y)&&x&&x!=-1)...
阅读全文
posted @ 2017-11-02 19:35 sulley
阅读(195)
评论(0)
推荐(0)
编辑
公告