UVA 400 Unix ls
摘要:
字符串,需要注意格式,和样例输出用fc命令比较,一致时就行了。# include <cstdio># include <cstring># include <cstdlib># include <cmath># define N 100 + 5# define M 60 + 5int n;char fname[N][M];int cmp(const void *x, const void *y){ return strcmp((char*)x, (char*)y);}int max(int x, int y){ return x>y ? x 阅读全文
posted @ 2012-08-02 17:01 getgoing 阅读(198) 评论(0) 推荐(0) 编辑