摘要:
#include <iostream>#include <vector>#include <iterator>#include <algorithm>struct Area { Area():x(0), y(0) {} Area(int a, int b):x(a),y(b){} int x,y; bool operator<(const Area &rhs) { return x<rhs.x; } //排序用到 friend ostream& operator<<(ostream &out, co 阅读全文
posted @ 2012-05-09 11:09
windflying
阅读(366)
评论(0)
推荐(0)

浙公网安备 33010602011771号