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_25979224_4734.cpp:6:5: error: 'll' does not name a type
     ll a, b;
     ^
0_0_25979224_4734.cpp: In member function 'bool node::operator<(const node&) const':
0_0_25979224_4734.cpp:8:20: error: 'a' was not declared in this scope
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                    ^
0_0_25979224_4734.cpp:8:25: error: 'b' was not declared in this scope
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                         ^
0_0_25979224_4734.cpp:8:29: error: 'const struct node' has no member named 'a'
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                             ^
0_0_25979224_4734.cpp:8:40: error: 'const struct node' has no member named 'a'
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                                        ^
0_0_25979224_4734.cpp:8:45: error: 'const struct node' has no member named 'a'
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                                             ^
0_0_25979224_4734.cpp:8:49: error: 'const struct node' has no member named 'b'
         return min(a, a+b+t.a) < min(t.a, t.a+t.b+a);
                                                 ^
0_0_25979224_4734.cpp: In function 'int main()':
0_0_25979224_4734.cpp:40:25: error: 'struct node' has no member named 'a'
         p[1].num = p[1].a = p[1].b = 0;
                         ^
0_0_25979224_4734.cpp:40:34: error: 'struct node' has no member named 'b'
         p[1].num = p[1].a = p[1].b = 0;
                                  ^
0_0_25979224_4734.cpp:44:37: error: 'struct node' has no member named 'a'
             scanf("%lld%lld", &p[i].a, &p[i].b);
                                     ^
0_0_25979224_4734.cpp:44:46: error: 'struct node' has no member named 'b'
             scanf("%lld%lld", &p[i].a, &p[i].b);
                                              ^
0_0_25979224_4734.cpp:45:18: error: 'struct node' has no member named 'a'
             p[i].a = -p[i].a;
                  ^
0_0_25979224_4734.cpp:45:28: error: 'struct node' has no member named 'a'
             p[i].a = -p[i].a;
                            ^
0_0_25979224_4734.cpp:65:21: error: 'struct node' has no member named 'a'
             if(p[t].a+p[f].b < 0){
                     ^
0_0_25979224_4734.cpp:65:28: error: 'struct node' has no member named 'b'
             if(p[t].a+p[f].b < 0){
                            ^
0_0_25979224_4734.cpp:66:22: error: 'struct node' has no member named 'a'
                 p[f].a += p[t].a+p[f].b;
                      ^
0_0_25979224_4734.cpp:66:32: error: 'struct node' has no member named 'a'
                 p[f].a += p[t].a+p[f].b;
                                ^
0_0_25979224_4734.cpp:66:39: error: 'struct node' has no member named 'b'
                 p[f].a += p[t].a+p[f].b;
                                       ^
0_0_25979224_4734.cpp:67:22: error: 'struct node' has no member named 'b'
                 p[f].b = p[t].b;
                      ^
0_0_25979224_4734.cpp:67:31: error: 'struct node' has no member named 'b'
                 p[f].b = p[t].b;
                               ^
0_0_25979224_4734.cpp:70:22: error: 'struct node' has no member named 'b'
                 p[f].b += p[t].a+p[t].b;
                      ^
0_0_25979224_4734.cpp:70:32: error: 'struct node' has no member named 'a'
                 p[f].b += p[t].a+p[t].b;
                                ^
0_0_25979224_4734.cpp:70:39: error: 'struct node' has no member named 'b'
                 p[f].b += p[t].a+p[t].b;
                                       ^
0_0_25979224_4734.cpp:76:32: error: 'struct node' has no member named 'a'
         printf("%lld\n", -p[1].a);
                                ^


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-26 16:07:53, Gzip enabled