F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19821167_13226.cpp:4:1: error: '_int64' does not name a type
 _int64 ans;
 ^
0_0_19821167_13226.cpp: In function 'void merge(int, int, int)':
0_0_19821167_13226.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_19821167_13226.cpp: In function 'int main()':
0_0_19821167_13226.cpp:33:9: error: 'ans' was not declared in this scope
         ans=0;//ans为其“正序对”的个数
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-19 01:35:55, Gzip enabled