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_38572875_28382.cpp:4:1: error: 'ill' does not name a type
 ill a[1000],b[10000],m[10000],w,x,pos;
 ^~~
0_0_38572875_28382.cpp: In function 'int main()':
0_0_38572875_28382.cpp:41:3: error: 'w' was not declared in this scope
   w=0;
   ^
0_0_38572875_28382.cpp:47:9: error: 'x' was not declared in this scope
    cin>>x;
         ^
0_0_38572875_28382.cpp:50:10: error: 'a' was not declared in this scope
     cin>>a[j];
          ^
0_0_38572875_28382.cpp:51:5: error: 'm' was not declared in this scope
     m[w++]=a[j];
     ^
0_0_38572875_28382.cpp:53:9: error: 'a' was not declared in this scope
    sort(a,a+x);
         ^
0_0_38572875_28382.cpp:56:5: error: 'pos' was not declared in this scope
     pos=erfen(a,x,k-a[j]);
     ^~~
0_0_38572875_28382.cpp:65:8: error: 'm' was not declared in this scope
   sort(m,m+w);
        ^
0_0_38572875_28382.cpp:68:4: error: 'pos' was not declared in this scope
    pos=erfen(m,w,k-m[i]);
    ^~~


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-04 10:51:22, Gzip enabled