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_14107859_15772.cpp: In function 'll dis(int, int)':
0_0_14107859_15772.cpp:29:10: error: 'x' was not declared in this scope
     ll a=x[i]-x[j],b=y[i]-y[j];
          ^
0_0_14107859_15772.cpp:30:16: error: 'b' was not declared in this scope
     return a*a+b*b;
                ^
0_0_14107859_15772.cpp: In function 'void dfs(int)':
0_0_14107859_15772.cpp:36:22: error: expected initializer before '>=' token
     for(int i=pos-1,i>=1;i--) if(!vis[i])
                      ^
0_0_14107859_15772.cpp:36:22: error: expected ';' before '>=' token
0_0_14107859_15772.cpp:36:22: error: expected primary-expression before '>=' token


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 17:51:41, Gzip enabled