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_20911971_10186.cpp:5:19: error: array bound is not an integer constant before ']' token
 long long ab[N * N];  
                   ^
0_0_20911971_10186.cpp:8:14: error: array bound is not an integer constant before ']' token
 long long a[N], b[N], c[N], x;  
              ^
0_0_20911971_10186.cpp:8:20: error: array bound is not an integer constant before ']' token
 long long a[N], b[N], c[N], x;  
                    ^
0_0_20911971_10186.cpp:8:26: error: array bound is not an integer constant before ']' token
 long long a[N], b[N], c[N], x;  
                          ^
0_0_20911971_10186.cpp: In function 'int search(long long int)':
0_0_20911971_10186.cpp:17:12: error: 'ab' was not declared in this scope
         if(ab[mid] == x)  
            ^
0_0_20911971_10186.cpp: In function 'int main()':
0_0_20911971_10186.cpp:34:29: error: 'a' was not declared in this scope
             scanf("%I64d", &a[i]);  
                             ^
0_0_20911971_10186.cpp:36:29: error: 'b' was not declared in this scope
             scanf("%I64d", &b[i]);  
                             ^
0_0_20911971_10186.cpp:38:29: error: 'c' was not declared in this scope
             scanf("%I64d", &c[i]);  
                             ^
0_0_20911971_10186.cpp:42:17: error: 'ab' was not declared in this scope
                 ab[num++] = a[i] + b[j];  
                 ^
0_0_20911971_10186.cpp:42:29: error: 'a' was not declared in this scope
                 ab[num++] = a[i] + b[j];  
                             ^
0_0_20911971_10186.cpp:42:36: error: 'b' was not declared in this scope
                 ab[num++] = a[i] + b[j];  
                                    ^
0_0_20911971_10186.cpp:43:14: error: 'ab' was not declared in this scope
         sort(ab, ab+num);  
              ^
0_0_20911971_10186.cpp:44:14: error: 'c' was not declared in this scope
         sort(c, c+l);  
              ^


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-17 08:24:15, Gzip enabled