ororororz专题

ACM/STEPS shǎ崽 OrOrOrOrz

这道题刚开没想到用qsort(),后来参考了一下别人的用了qsort()排序函数。。。。。。代码不难,看了很容易懂。。 #include <iostream> using namespace std; int cmp(const void *a, const void *b) {  return *(int *)a - *(int *)b; } int main() {  int n, i,