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_33928058_1844.cpp:19:12: error: expected initializer before 'long'
 #define ll long long
            ^
0_0_33928058_1844.cpp:31:1: note: in expansion of macro 'll'
 ll ret; 
 ^
0_0_33928058_1844.cpp: In function 'void merge(int*, int, int, int)':
0_0_33928058_1844.cpp:42:4: error: 'ret' was not declared in this scope
    ret += (mid-i+1);
    ^
0_0_33928058_1844.cpp: In function 'int main()':
0_0_33928058_1844.cpp:76:11: error: 'a' was not declared in this scope
    cin >> a[i];
           ^
0_0_33928058_1844.cpp:77:3: error: 'ret' was not declared in this scope
   ret = 0;
   ^
0_0_33928058_1844.cpp:78:9: error: 'a' was not declared in this scope
   msort(a, 0, n-1);
         ^


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-06-30 14:56:26, Gzip enabled