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_21982587_2623.cpp: In function 'void zz(std::string&)':
0_0_21982587_2623.cpp:12:5: error: 'a1' was not declared in this scope
  if(a1[j]>='A'&&a1[j]<='Z')
     ^
0_0_21982587_2623.cpp:12:8: error: 'j' was not declared in this scope
  if(a1[j]>='A'&&a1[j]<='Z')
        ^
0_0_21982587_2623.cpp: At global scope:
0_0_21982587_2623.cpp:17:1: error: 'zz' does not name a type
 zz xx[1000];
 ^
0_0_21982587_2623.cpp: In function 'int main()':
0_0_21982587_2623.cpp:26:4: error: 'xx' was not declared in this scope
    xx[i].n1=i;
    ^
0_0_21982587_2623.cpp:55:8: error: 'xx' was not declared in this scope
     if(xx[j].n<xx[i].n)
        ^
0_0_21982587_2623.cpp:57:9: error: expected ';' before 'xx1'
      zz xx1=xx[i];
         ^
0_0_21982587_2623.cpp:59:12: error: 'xx1' was not declared in this scope
      xx[j]=xx1;
            ^
0_0_21982587_2623.cpp:61:8: error: 'xx' was not declared in this scope
     if(xx[j].n==xx[i].n&&xx[j].n1>xx[i].n1)
        ^
0_0_21982587_2623.cpp:63:9: error: expected ';' before 'xx1'
      zz xx1=xx[i];
         ^
0_0_21982587_2623.cpp:65:12: error: 'xx1' was not declared in this scope
      xx[j]=xx1;
            ^
0_0_21982587_2623.cpp:89:22: error: 'xx' was not declared in this scope
      for(int j2=0;j2<xx[j1].nletter;j2++)
                      ^
0_0_21982587_2623.cpp:102:10: error: 'xx' was not declared in this scope
    cout<<xx[j].a<<endl;
          ^


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-02 17:49:55, Gzip enabled