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_13121346_19968.cpp: In function 'int main()':
0_0_13121346_19968.cpp:7:2: error: '_int64' was not declared in this scope
  _int64 pp, a[10000];
  ^
0_0_13121346_19968.cpp:15:20: error: 'a' was not declared in this scope
    scanf("%I64d", &a[i]);
                    ^
0_0_13121346_19968.cpp:17:9: error: 'a' was not declared in this scope
   qsort(a, n, sizeof(_int64), cmp);
         ^
0_0_13121346_19968.cpp:22:5: error: 'pp' was not declared in this scope
     pp=a[i]-a[j];
     ^
0_0_13121346_19968.cpp: In function 'int cmp(const void*, const void*)':
0_0_13121346_19968.cpp:35:11: error: '_int64' was not declared in this scope
  return *(_int64 *)a-*(_int64*)b;
           ^
0_0_13121346_19968.cpp:35:19: error: expected primary-expression before ')' token
  return *(_int64 *)a-*(_int64*)b;
                   ^
0_0_13121346_19968.cpp:35:20: error: expected ';' before 'a'
  return *(_int64 *)a-*(_int64*)b;
                    ^
0_0_13121346_19968.cpp:35:31: error: expected primary-expression before ')' token
  return *(_int64 *)a-*(_int64*)b;
                               ^


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-12-02 11:55:25, Gzip enabled