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_22877632_25003.cpp:23:5: error: 'LL' does not name a type
     LL time , id;  
     ^
0_0_22877632_25003.cpp: In member function 'bool node::operator<(const node&) const':
0_0_22877632_25003.cpp:26:27: error: 'const struct node' has no member named 'time'
         return time > rhs.time;  
                           ^
0_0_22877632_25003.cpp: At global scope:
0_0_22877632_25003.cpp:31:1: error: 'LL' does not name a type
 LL clo[maxn * 10];  
 ^
0_0_22877632_25003.cpp: In function 'int main()':
0_0_22877632_25003.cpp:42:16: error: 'struct node' has no member named 'time'
             st.time = w[i];     st.id = i;  
                ^
0_0_22877632_25003.cpp:42:36: error: 'struct node' has no member named 'id'
             st.time = w[i];     st.id = i;  
                                    ^
0_0_22877632_25003.cpp:47:16: error: 'struct node' has no member named 'time'
             st.time = d[i];     st.id = i;  
                ^
0_0_22877632_25003.cpp:47:36: error: 'struct node' has no member named 'id'
             st.time = d[i];     st.id = i;  
                                    ^
0_0_22877632_25003.cpp:52:13: error: 'clo' was not declared in this scope
             clo[i] = cur.time;  
             ^
0_0_22877632_25003.cpp:52:26: error: 'struct node' has no member named 'time'
             clo[i] = cur.time;  
                          ^
0_0_22877632_25003.cpp:53:16: error: 'struct node' has no member named 'time'
             st.time = cur.time + w[cur.id];         st.id = cur.id;  
                ^
0_0_22877632_25003.cpp:53:27: error: 'struct node' has no member named 'time'
             st.time = cur.time + w[cur.id];         st.id = cur.id;  
                           ^
0_0_22877632_25003.cpp:53:40: error: 'struct node' has no member named 'id'
             st.time = cur.time + w[cur.id];         st.id = cur.id;  
                                        ^
0_0_22877632_25003.cpp:53:56: error: 'struct node' has no member named 'id'
             st.time = cur.time + w[cur.id];         st.id = cur.id;  
                                                        ^
0_0_22877632_25003.cpp:53:65: error: 'struct node' has no member named 'id'
             st.time = cur.time + w[cur.id];         st.id = cur.id;  
                                                                 ^
0_0_22877632_25003.cpp:56:8: error: 'LL' was not declared in this scope
        LL ans = -1;  
        ^
0_0_22877632_25003.cpp:59:13: error: 'ans' was not declared in this scope
             ans = max(ans , clo[i] + cur.time);  
             ^
0_0_22877632_25003.cpp:59:29: error: 'clo' was not declared in this scope
             ans = max(ans , clo[i] + cur.time);  
                             ^
0_0_22877632_25003.cpp:59:42: error: 'struct node' has no member named 'time'
             ans = max(ans , clo[i] + cur.time);  
                                          ^
0_0_22877632_25003.cpp:60:16: error: 'struct node' has no member named 'time'
             st.time = cur.time + d[cur.id];         st.id = cur.id;  
                ^
0_0_22877632_25003.cpp:60:27: error: 'struct node' has no member named 'time'
             st.time = cur.time + d[cur.id];         st.id = cur.id;  
                           ^
0_0_22877632_25003.cpp:60:40: error: 'struct node' has no member named 'id'
             st.time = cur.time + d[cur.id];         st.id = cur.id;  
                                        ^
0_0_22877632_25003.cpp:60:56: error: 'struct node' has no member named 'id'
             st.time = cur.time + d[cur.id];         st.id = cur.id;  
                                                        ^
0_0_22877632_25003.cpp:60:65: error: 'struct node' has no member named 'id'
             st.time = cur.time + d[cur.id];         st.id = cur.id;  
                                                                 ^
0_0_22877632_25003.cpp:63:44: error: 'ans' was not declared in this scope
         printf("Case #%d: %lld\n",++kase , ans);  
                                            ^


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:53:11, Gzip enabled