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_18269253_28277.cpp:5:1: error: 'LL' does not name a type
 LL f[N],F[N];
 ^
0_0_18269253_28277.cpp:9:11: error: 'LL' does not name a type
     int x;LL v;
           ^
0_0_18269253_28277.cpp:11:17: error: 'LL' has not been declared
     node(int x_,LL v_){x=x_;v=v_;}
                 ^
0_0_18269253_28277.cpp: In constructor 'node::node(int, int)':
0_0_18269253_28277.cpp:11:29: error: 'v' was not declared in this scope
     node(int x_,LL v_){x=x_;v=v_;}
                             ^
0_0_18269253_28277.cpp: In member function 'bool node::operator<(const node&) const':
0_0_18269253_28277.cpp:12:49: error: 'v' was not declared in this scope
     bool operator < (const node& b)const{return v>b.v;}
                                                 ^
0_0_18269253_28277.cpp:12:53: error: 'const struct node' has no member named 'v'
     bool operator < (const node& b)const{return v>b.v;}
                                                     ^
0_0_18269253_28277.cpp: At global scope:
0_0_18269253_28277.cpp:22:1: error: 'priority_queue' does not name a type
 priority_queue<node>q;
 ^
0_0_18269253_28277.cpp:23:16: error: 'LL' has not been declared
 void inq(int x,LL dis)
                ^
0_0_18269253_28277.cpp: In function 'void inq(int, int)':
0_0_18269253_28277.cpp:25:13: error: 'f' was not declared in this scope
     if(dis>=f[x])return;
             ^
0_0_18269253_28277.cpp:26:5: error: 'f' was not declared in this scope
     f[x]=dis;
     ^
0_0_18269253_28277.cpp:27:5: error: 'q' was not declared in this scope
     q.push(node(x,dis));
     ^
0_0_18269253_28277.cpp: In function 'void dijkstra(int)':
0_0_18269253_28277.cpp:31:8: error: 'f' was not declared in this scope
     MS(f,63);
        ^
0_0_18269253_28277.cpp:31:12: error: 'MS' was not declared in this scope
     MS(f,63);
            ^
0_0_18269253_28277.cpp:34:5: error: 'q' was not declared in this scope
     q.push(node(st,0));
     ^
0_0_18269253_28277.cpp: In function 'int main()':
0_0_18269253_28277.cpp:44:24: error: 'scanf' was not declared in this scope
     scanf("%d",&casenum);
                        ^
0_0_18269253_28277.cpp:47:19: error: 'MS' was not declared in this scope
         MS(first,0);id=1;
                   ^
0_0_18269253_28277.cpp:65:12: error: 'F' was not declared in this scope
         MC(F,f);
            ^
0_0_18269253_28277.cpp:65:14: error: 'f' was not declared in this scope
         MC(F,f);
              ^
0_0_18269253_28277.cpp:65:15: error: 'MC' was not declared in this scope
         MC(F,f);
               ^
0_0_18269253_28277.cpp:67:9: error: 'LL' was not declared in this scope
         LL ans=1e18;
         ^
0_0_18269253_28277.cpp:71:27: error: 'gmax' was not declared in this scope
             gmax(F[i],f[i]);
                           ^
0_0_18269253_28277.cpp:72:22: error: 'ans' was not declared in this scope
             if(F[i]<=ans)
                      ^
0_0_18269253_28277.cpp:78:12: error: 'ans' was not declared in this scope
         if(ans==1e18)printf("Case #%d: Evil John\n",casei);
            ^
0_0_18269253_28277.cpp:78:58: error: 'printf' was not declared in this scope
         if(ans==1e18)printf("Case #%d: Evil John\n",casei);
                                                          ^
0_0_18269253_28277.cpp:81:48: error: 'printf' was not declared in this scope
             printf("Case #%d: %lld\n",casei,ans);
                                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 19:55:12, Gzip enabled