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_13521315_28550.cpp:4:1: error: '_int64' does not name a type
 _int64 G[110][110], dis[110], vis[110], l[4], c[4], p[110];
 ^
0_0_13521315_28550.cpp: In function 'void dij(int, int)':
0_0_13521315_28550.cpp:9:2: error: '_int64' was not declared in this scope
  _int64 min;
  ^
0_0_13521315_28550.cpp:10:9: error: 'vis' was not declared in this scope
  memset(vis, 0, sizeof(vis));
         ^
0_0_13521315_28550.cpp:14:12: error: 'dis' was not declared in this scope
   if(i==s) dis[i]=0;
            ^
0_0_13521315_28550.cpp:15:8: error: 'dis' was not declared in this scope
   else dis[i]=G[s][i];
        ^
0_0_13521315_28550.cpp:15:15: error: 'G' was not declared in this scope
   else dis[i]=G[s][i];
               ^
0_0_13521315_28550.cpp:19:3: error: 'min' was not declared in this scope
   min=999999999;
   ^
0_0_13521315_28550.cpp:22:18: error: 'dis' was not declared in this scope
    if(!vis[j] && dis[j]<min)
                  ^
0_0_13521315_28550.cpp:32:18: error: 'dis' was not declared in this scope
    if(!vis[k] && dis[k]>min+G[u][k])
                  ^
0_0_13521315_28550.cpp:32:29: error: 'G' was not declared in this scope
    if(!vis[k] && dis[k]>min+G[u][k])
                             ^
0_0_13521315_28550.cpp: In function 'void pp(int)':
0_0_13521315_28550.cpp:43:2: error: '_int64' was not declared in this scope
  _int64 d;
  ^
0_0_13521315_28550.cpp:48:4: error: 'd' was not declared in this scope
    d=p[i]-p[j];
    ^
0_0_13521315_28550.cpp:48:6: error: 'p' was not declared in this scope
    d=p[i]-p[j];
      ^
0_0_13521315_28550.cpp:50:13: error: 'G' was not declared in this scope
    if(d==0) G[i][j]=0;
             ^
0_0_13521315_28550.cpp:51:22: error: 'l' was not declared in this scope
    else if(d>0 && d<=l[0]) G[i][j]=c[0];
                      ^
0_0_13521315_28550.cpp:51:28: error: 'G' was not declared in this scope
    else if(d>0 && d<=l[0]) G[i][j]=c[0];
                            ^
0_0_13521315_28550.cpp:51:36: error: 'c' was not declared in this scope
    else if(d>0 && d<=l[0]) G[i][j]=c[0];
                                    ^
0_0_13521315_28550.cpp:52:31: error: 'G' was not declared in this scope
    else if(d>l[0] && d<=l[1]) G[i][j]=c[1];
                               ^
0_0_13521315_28550.cpp:52:39: error: 'c' was not declared in this scope
    else if(d>l[0] && d<=l[1]) G[i][j]=c[1];
                                       ^
0_0_13521315_28550.cpp:53:31: error: 'G' was not declared in this scope
    else if(d>l[1] && d<=l[2]) G[i][j]=c[2];
                               ^
0_0_13521315_28550.cpp:53:39: error: 'c' was not declared in this scope
    else if(d>l[1] && d<=l[2]) G[i][j]=c[2];
                                       ^
0_0_13521315_28550.cpp:54:31: error: 'G' was not declared in this scope
    else if(d>l[2] && d<=l[3]) G[i][j]=c[3];
                               ^
0_0_13521315_28550.cpp:54:39: error: 'c' was not declared in this scope
    else if(d>l[2] && d<=l[3]) G[i][j]=c[3];
                                       ^
0_0_13521315_28550.cpp:55:9: error: 'G' was not declared in this scope
    else G[i][j]=9999999999;
         ^
0_0_13521315_28550.cpp: In function 'int main()':
0_0_13521315_28550.cpp:68:17: error: 'l' was not declared in this scope
    scanf("%d", &l[j]);
                 ^
0_0_13521315_28550.cpp:72:17: error: 'c' was not declared in this scope
    scanf("%d", &c[j]);
                 ^
0_0_13521315_28550.cpp:77:17: error: 'p' was not declared in this scope
    scanf("%d", &p[j]);
                 ^
0_0_13521315_28550.cpp:85:7: error: 'dis' was not declared in this scope
    if(dis[d]==9999999999) printf("Station %d and station %d are not attainable.\n", s, d);
       ^


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-30 02:43:07, Gzip enabled