hdu 1106 排序
摘要:
#include<stdio.h>#include<string.h>#include<stdlib.h>int cmp(const void *a,const void *b){ return *(long *)a > *(long *)b ? 1: -1;}int main( ){ char ch[1005]; while(scanf("%s",ch)!=EOF) { char *p,*q,ch1[1005]; int len,i=0,k=0,m=0,flag=0; long A[1001]; len=strlen(ch); m 阅读全文
posted @ 2011-04-10 00:00 more think, more gains 阅读(285) 评论(0) 推荐(0) 编辑