0_0_19747946_17325.cpp:4:1: error: '_int64' does not name a type
_int64 ans;
^
0_0_19747946_17325.cpp: In function 'void merge(int, int, int)':
0_0_19747946_17325.cpp:8:54: error: 'ans' was not declared in this scope
if(sum[h2]>sum[h1]) tmp[tmp_num++]=sum[h1++],ans+=r-h2+1;//若是后面分割数组的h2位置的数大于前面h1位置的数说明是正序,由于后面的数组为有序的,所以大于h2位置的数都是满足条件的
^
0_0_19747946_17325.cpp: In function 'int main()':
0_0_19747946_17325.cpp:33:9: error: 'ans' was not declared in this scope
ans=0;//ans为其“正序对”的个数
^
|