摘要:
Problem DescriptionIgnatius bought a land last week, but he didn't know the area of the land because the land is enclosed by a parabola and a straight... 阅读全文
摘要:
给你两个集合,要求{A} + {B}.注:同一个集合中不会有两个相同的元素.Input每组输入数据分为三行,第一行有两个数字n,m(0#includeusing namespace std;int main(){ int n,m,i,s,a[20002]; while(scanf("%d%d",&m... 阅读全文
摘要:
qsort(数组名,数组长度,数组中每个元素大小,compare); compare函数的写法决定了排序是升序还是降序。需要#include例如:int compare(const void*a,const void*b){return *(int*)a-*(int*)b;} 示例:qsort(a,... 阅读全文