会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Qiuqiqiu
不管道路多么崎岖坎坷,我永远不停下追逐梦想的脚步!
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
2012年2月27日
ZOJ 3574 Under Attack II
摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3574求逆序对归并排序O(nlogn),《算法竞赛入门经典》P144View Code 1 //zoj 3574 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <string.h> 5 const int N=30100; 6 struct yy 7 { 8 int l,r; 9 }y[N];10 int a[N],b[N];11 int cmp(const void *a,
阅读全文
posted @ 2012-02-27 08:06 Qiuqiqiu
阅读(245)
评论(0)
推荐(0)
编辑
Copyright © 2024 Qiuqiqiu
Powered by .NET 8.0 on Kubernetes