摘要: #include #include #include #include using namespace std;int main(){ int n; cin >> n; vector x(n,0); for(int i = 0 ; i > x[i]; } bool flag = true; while(flag){ flag = false; sort(x.begin(),x.end()); for(int i = n - 1; i >=1; i -- ){ if(x[i]-x[i-... 阅读全文
posted @ 2014-02-09 23:31 OpenSoucre 阅读(146) 评论(0) 推荐(0) 编辑