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_30300439_370.cpp:25:1: error: 'pow' does not name a type
 pow pow[10001];
 ^
0_0_30300439_370.cpp: In function 'int main()':
0_0_30300439_370.cpp:93:14: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    cin>>pow[t].value;
              ^
0_0_30300439_370.cpp:94:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    pow[t].flag=1;
         ^
0_0_30300439_370.cpp:95:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    pow[t].i=i;
         ^
0_0_30300439_370.cpp:97:14: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    cin>>pow[t].value;
              ^
0_0_30300439_370.cpp:98:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    pow[t].flag=0;
         ^
0_0_30300439_370.cpp:99:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    pow[t].i=i;
         ^
0_0_30300439_370.cpp:102:18: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
   sort(pow,pow+2*n,cmp);
                  ^
0_0_30300439_370.cpp:104:17: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
         if(pow[0].flag)
                 ^
0_0_30300439_370.cpp:105:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
         number[pow[0].i].l=c1;
                     ^
0_0_30300439_370.cpp:107:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
         number[pow[0].i].r=c1;
                     ^
0_0_30300439_370.cpp:110:12: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    if(pow[i].value>pow[i-1].value)
            ^
0_0_30300439_370.cpp:110:27: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    if(pow[i].value>pow[i-1].value)
                           ^
0_0_30300439_370.cpp:112:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
             if(pow[i].flag)
                     ^
0_0_30300439_370.cpp:113:16: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    number[pow[i].i].l=c1;
                ^
0_0_30300439_370.cpp:115:25: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
             number[pow[i].i].r=c1;
                         ^


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-24 21:48:02, Gzip enabled