hdu 2523
摘要:
地址:http://acm.hdu.edu.cn/showproblem.php?pid=2523题意:中文……mark:数据范围只是0-2000,直接桶排序,然后简单搜索。代码:#include <stdio.h>#include <string.h>int fab(int a) {return a < 0 ? -1*a : a;}int a[1010],b[2010];int main(){ int c,n,k; int i,j,f; scanf("%d", &c); while(c-- && scanf(" 阅读全文
posted @ 2012-06-30 23:28 andre_joy 阅读(110) 评论(0) 推荐(0) 编辑