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_14749487_29572.cpp: In function 'void rebuild(int, int, int)':
0_0_14749487_29572.cpp:44:24: error: 'cl' was not declared in this scope
         int ind=mp[id][cl[i]];
                        ^
0_0_14749487_29572.cpp: In function 'int main()':
0_0_14749487_29572.cpp:58:49: error: 'cl' was not declared in this scope
         for(int i = 0; i < n; i++) scanf("%d", &cl[i]);//, h[lh++] = cl[i];
                                                 ^
0_0_14749487_29572.cpp:77:30: error: 'cl' was not declared in this scope
                 int id=mp[i][cl[j]];
                              ^
0_0_14749487_29572.cpp:92:25: error: 'cl' was not declared in this scope
                         cl[j]=z[i];
                         ^
0_0_14749487_29572.cpp:95:40: error: 'cl' was not declared in this scope
                         int ind=mp[id][cl[j]];
                                        ^
0_0_14749487_29572.cpp:105:25: error: 'cl' was not declared in this scope
                         cl[j] = tg[id];
                         ^
0_0_14749487_29572.cpp:115:21: error: 'cl' was not declared in this scope
                     cl[j] = z[i];
                     ^
0_0_14749487_29572.cpp:124:25: error: 'cl' was not declared in this scope
                         cl[j] = tg[id];
                         ^
0_0_14749487_29572.cpp:129:21: error: 'cl' was not declared in this scope
                     cl[j] = z[i];
                     ^
0_0_14749487_29572.cpp:146:32: error: 'cl' was not declared in this scope
                             if(cl[j]==z[i]) res++;
                                ^
0_0_14749487_29572.cpp:157:33: error: 'cl' was not declared in this scope
                         cnt[id][cl[j]]--;
                                 ^
0_0_14749487_29572.cpp:163:67: error: 'cl' was not declared in this scope
                 for(int j = l[i]; j < id * sqrtn + sqrtn; j++) if(cl[j] == z[i]) res++;
                                                                   ^
0_0_14749487_29572.cpp:172:34: error: 'cl' was not declared in this scope
                         cnt[idr][cl[j]]--;
                                  ^
0_0_14749487_29572.cpp:178:61: error: 'cl' was not declared in this scope
                 for(int j = idr * sqrtn; j <= r[i]; j++) if(cl[j] == z[i]) res++;
                                                             ^


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-30 01:06:00, Gzip enabled