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_30163419_23779.cpp: In function 'int main()':
0_0_30163419_23779.cpp:117:9: error: 'tot1' was not declared in this scope
         tot1=tot2=0;
         ^
0_0_30163419_23779.cpp:117:14: error: 'tot2' was not declared in this scope
         tot1=tot2=0;
              ^
0_0_30163419_23779.cpp:144:22: error: 'x' was not declared in this scope
             if (visx[x[i]]==0)
                      ^
0_0_30163419_23779.cpp:146:40: error: 'xx' was not declared in this scope
                 visx[x[i]]=lower_bound(xx+1,xx+nx+1,x[i])-xx;
                                        ^
0_0_30163419_23779.cpp:148:22: error: 'y' was not declared in this scope
             if (visy[y[i]]==0)
                      ^
0_0_30163419_23779.cpp:150:40: error: 'yy' was not declared in this scope
                 visy[y[i]]=lower_bound(yy+1,yy+ny+1,y[i])-yy;
                                        ^
0_0_30163419_23779.cpp:152:20: error: 'y' was not declared in this scope
             a[visy[y[i]]].push_back(make_pair(visx[x[i]],w[i]));
                    ^
0_0_30163419_23779.cpp:152:52: error: 'x' was not declared in this scope
             a[visy[y[i]]].push_back(make_pair(visx[x[i]],w[i]));
                                                    ^
0_0_30163419_23779.cpp:152:58: error: 'w' was not declared in this scope
             a[visy[y[i]]].push_back(make_pair(visx[x[i]],w[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-11-26 03:35:12, Gzip enabled