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_15003051_27132.cpp:1:10: error: 'size' was not declared in this scope
 int ming[size];
          ^
0_0_15003051_27132.cpp:2:11: error: 'size' was not declared in this scope
 int liang[size];
           ^
0_0_15003051_27132.cpp: In function 'int main(int, const char**)':
0_0_15003051_27132.cpp:5:27: error: 'scanf' was not declared in this scope
  int n, m ,T;scanf("%d",&T);
                           ^
0_0_15003051_27132.cpp:13:4: error: 'ming' was not declared in this scope
    ming[i] = w;
    ^
0_0_15003051_27132.cpp:18:4: error: 'liang' was not declared in this scope
    liang[i] = w;
    ^
0_0_15003051_27132.cpp:20:8: error: 'ming' was not declared in this scope
   sort(ming, ming + n);
        ^
0_0_15003051_27132.cpp:20:22: error: 'sort' was not declared in this scope
   sort(ming, ming + n);
                      ^
0_0_15003051_27132.cpp:21:8: error: 'liang' was not declared in this scope
   sort(liang, liang + n);
        ^
0_0_15003051_27132.cpp:32:14: error: 'puts' was not declared in this scope
    puts("YES");
              ^
0_0_15003051_27132.cpp:34:13: error: 'puts' was not declared in this scope
    puts("NO");
             ^


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-01 12:43:05, Gzip enabled