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_14462329_1528.cpp: In function 'bool check(int, int)':
0_0_14462329_1528.cpp:3:8: error: 'Y' was not declared in this scope
     if(Y[i]>Z[j]||Y[j]>Z[i])
        ^
0_0_14462329_1528.cpp:3:13: error: 'Z' was not declared in this scope
     if(Y[i]>Z[j]||Y[j]>Z[i])
             ^
0_0_14462329_1528.cpp:5:30: error: 'swap' was not declared in this scope
         if(Z[i]<Y[j])swap(i,j);
                              ^
0_0_14462329_1528.cpp:6:19: error: 'X' was not declared in this scope
         int d=gcd(X[i],X[j]);
                   ^
0_0_14462329_1528.cpp:6:28: error: 'gcd' was not declared in this scope
         int d=gcd(X[i],X[j]);
                            ^
0_0_14462329_1528.cpp:7:40: error: 'check2' was not declared in this scope
         if(check2(d,Y[i]-Z[j],Z[i]-Y[j]))return true;
                                        ^


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-10-06 20:42:09, Gzip enabled