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_27519737_11425.cpp:8:3: error: 'll' does not name a type
   ll x, y;
   ^
0_0_27519737_11425.cpp: In member function 'bool A::operator<(const A&) const':
0_0_27519737_11425.cpp:11:12: error: 'x' was not declared in this scope
     return x + y < ot.x + ot.y;
            ^
0_0_27519737_11425.cpp:11:16: error: 'y' was not declared in this scope
     return x + y < ot.x + ot.y;
                ^
0_0_27519737_11425.cpp:11:23: error: 'const struct A' has no member named 'x'
     return x + y < ot.x + ot.y;
                       ^
0_0_27519737_11425.cpp:11:30: error: 'const struct A' has no member named 'y'
     return x + y < ot.x + ot.y;
                              ^
0_0_27519737_11425.cpp: At global scope:
0_0_27519737_11425.cpp:15:1: error: 'll' does not name a type
 ll C(ll x, ll y)
 ^
0_0_27519737_11425.cpp: In function 'int main()':
0_0_27519737_11425.cpp:24:3: error: 'll' was not declared in this scope
   ll n, m;
   ^
0_0_27519737_11425.cpp:26:30: error: 'n' was not declared in this scope
   while(scanf("%lld%lld%d", &n, &m, &r) != EOF) {
                              ^
0_0_27519737_11425.cpp:26:34: error: 'm' was not declared in this scope
   while(scanf("%lld%lld%d", &n, &m, &r) != EOF) {
                                  ^
0_0_27519737_11425.cpp:27:10: error: 'struct A' has no member named 'x'
     p[0].x = p[0].y = 1;
          ^
0_0_27519737_11425.cpp:27:19: error: 'struct A' has no member named 'y'
     p[0].x = p[0].y = 1;
                   ^
0_0_27519737_11425.cpp:30:31: error: 'struct A' has no member named 'x'
       scanf("%lld%lld", &p[i].x, &p[i].y);
                               ^
0_0_27519737_11425.cpp:30:40: error: 'struct A' has no member named 'y'
       scanf("%lld%lld", &p[i].x, &p[i].y);
                                        ^
0_0_27519737_11425.cpp:36:7: error: expected ';' 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-27 01:18:14, Gzip enabled