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_37499363_19693.cpp:7:1: error: 'll' does not name a type
 ll a[Max1], b[Max1], c[Max1], d[Max1], e[Max1], s[Max2], ss[Max2];
 ^
0_0_37499363_19693.cpp: In function 'bool check(long long int, long long int)':
0_0_37499363_19693.cpp:15:12: error: 'ss' was not declared in this scope
         if(ss[mid] == x)    return true;
            ^
0_0_37499363_19693.cpp: In function 'int main()':
0_0_37499363_19693.cpp:31:44: error: 'a' was not declared in this scope
         for(int i = 0; i < n; i++)    cin>>a[i];
                                            ^
0_0_37499363_19693.cpp:32:44: error: 'b' was not declared in this scope
         for(int i = 0; i < n; i++)    cin>>b[i];
                                            ^
0_0_37499363_19693.cpp:33:44: error: 'c' was not declared in this scope
         for(int i = 0; i < n; i++)    cin>>c[i];
                                            ^
0_0_37499363_19693.cpp:34:44: error: 'd' was not declared in this scope
         for(int i = 0; i < n; i++)    cin>>d[i];
                                            ^
0_0_37499363_19693.cpp:35:44: error: 'e' was not declared in this scope
         for(int i = 0; i < n; i++)    cin>>e[i];
                                            ^
0_0_37499363_19693.cpp:39:6: error: 's' was not declared in this scope
      s[cnt++] = a[i] + b[j];
      ^
0_0_37499363_19693.cpp:39:17: error: 'a' was not declared in this scope
      s[cnt++] = a[i] + b[j];
                 ^
0_0_37499363_19693.cpp:39:24: error: 'b' was not declared in this scope
      s[cnt++] = a[i] + b[j];
                        ^
0_0_37499363_19693.cpp:45:7: error: 'ss' was not declared in this scope
       ss[cnt++] = c[i] + d[j];
       ^
0_0_37499363_19693.cpp:45:19: error: 'c' was not declared in this scope
       ss[cnt++] = c[i] + d[j];
                   ^
0_0_37499363_19693.cpp:45:26: error: 'd' was not declared in this scope
       ss[cnt++] = c[i] + d[j];
                          ^
0_0_37499363_19693.cpp:48:14: error: 'ss' was not declared in this scope
         sort(ss, ss+ cnt);
              ^
0_0_37499363_19693.cpp:54:31: error: 'e' was not declared in this scope
                 int sum1= 0 - e[i] - ss[j];
                               ^


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-23 06:38:25, Gzip enabled