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_17693888_13609.cpp:27:4: error: 'MAXN' was not declared in this scope
 }P[MAXN], Q[MAXN];
    ^
0_0_17693888_13609.cpp:27:13: error: 'MAXN' was not declared in this scope
 }P[MAXN], Q[MAXN];
             ^
0_0_17693888_13609.cpp: In function 'int main()':
0_0_17693888_13609.cpp:50:18: error: 'P' was not declared in this scope
             cin>>P[i].x>>P[i].y;
                  ^
0_0_17693888_13609.cpp:51:14: error: 'P' was not declared in this scope
         sort(P,P+n);
              ^
0_0_17693888_13609.cpp:62:21: error: 'Q' was not declared in this scope
                     Q[m++]=P[j]-P[i];
                     ^
0_0_17693888_13609.cpp:66:35: error: 'Q' was not declared in this scope
                 int gcd=__gcd(abs(Q[j].x),abs(Q[j].y));
                                   ^
0_0_17693888_13609.cpp:73:18: error: 'Q' was not declared in this scope
             sort(Q,Q+m);
                  ^


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-17 08:49:22, Gzip enabled