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_17800564_17223.cpp: In function 'int main()':
0_0_17800564_17223.cpp:76:23: error: 'INF' was not declared in this scope
             int poi = INF,x = 100000,y = 100000,nei = INF;
                       ^
0_0_17800564_17223.cpp:82:21: error: 'x' was not declared in this scope
                     x = j;
                     ^
0_0_17800564_17223.cpp:92:21: error: 'y' was not declared in this scope
                     y = k;
                     ^
0_0_17800564_17223.cpp:93:21: error: 'nei' was not declared in this scope
                     nei = pp;
                     ^
0_0_17800564_17223.cpp:97:21: error: 'nei' was not declared in this scope
             if(poi<=nei)
                     ^
0_0_17800564_17223.cpp:99:30: error: 'x' was not declared in this scope
                 a[i].oid = a[x].id;
                              ^
0_0_17800564_17223.cpp:101:31: error: 'y' was not declared in this scope
             else a[i].oid = a[y].id;
                               ^


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 12:00:17, Gzip enabled