摘要: 第一个题比较小,wikioi的1076排序题,先说小题,展示一下qsort的基本用法。#include #include #include using namespace std;int a[100000];int cmp_int(const void* _a,const void* _b){ in... 阅读全文
posted @ 2014-07-29 19:28 雨尘之林 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 练习基本上是照着源码打的,,主要是各种const想不清楚原因和来由。以下是自己的代码,已存为bign.h#include #include #include //此处不用.h using namespace std;//使用命名空间std struct bign//C++中取消了tpyedef {... 阅读全文
posted @ 2014-07-29 18:44 雨尘之林 阅读(235) 评论(0) 推荐(0) 编辑