andre_joy

导航

2012年7月18日

hdu 1015

摘要: 地址:http://acm.hdu.edu.cn/showproblem.php?pid=1015题意:找符合题目给定公式字典序最后的字符串。mark:暴力过……代码:#include <stdio.h>#include <string.h>#include <stdlib.h>int n,c[15];char a[15], b[30] = "1ABCDEFGHIJKLMNOPQRSTUVWXYZ";int cmp(const void *a, const void *b){ return *(int *)b - *(int *)a;}v 阅读全文

posted @ 2012-07-18 10:43 andre_joy 阅读(352) 评论(0) 推荐(0) 编辑