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_36151930_8416.cpp:11:26: error: storage size of 'sorce' isn't known
 int m, n, time, k, sorce[];
                          ^
0_0_36151930_8416.cpp:12:10: error: expected primary-expression before '<<' token
 bool vis[<<][][];
          ^
0_0_36151930_8416.cpp:12:12: error: expected primary-expression before ']' token
 bool vis[<<][][];
            ^
0_0_36151930_8416.cpp:12:16: error: declaration of 'vis' as multidimensional array must have bounds for all dimensions except the first
 bool vis[<<][][];
                ^
0_0_36151930_8416.cpp:13:12: error: declaration of 'map' as multidimensional array must have bounds for all dimensions except the first
 char map[][];
            ^
0_0_36151930_8416.cpp: In function 'int main()':
0_0_36151930_8416.cpp:27:31: error: expected primary-expression before ';' token
     int i, j, T, ans, count = ;
                               ^
0_0_36151930_8416.cpp:34:15: error: expected primary-expression before ';' token
         for(i=; i<k; i++)
               ^
0_0_36151930_8416.cpp:37:15: error: expected primary-expression before ';' token
         for(i=; i<m; i++)
               ^
0_0_36151930_8416.cpp:39:24: error: 'map' was not declared in this scope
             scanf("%s",map[i]);
                        ^
0_0_36151930_8416.cpp:41:19: error: expected primary-expression before ';' token
             for(j=; j < n; j++)
                   ^
0_0_36151930_8416.cpp:44:67: error: expected primary-expression before ';' token
                     P.x = i, P.y = j, P.step = P.sorce = P.stau = ;
                                                                   ^
0_0_36151930_8416.cpp:51:20: error: expected primary-expression before ')' token
         if(ans == -)
                    ^
0_0_36151930_8416.cpp:58:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^
0_0_36151930_8416.cpp: In function 'int bfs(Point)':
0_0_36151930_8416.cpp:63:19: error: expected primary-expression before ',' token
     int i, max = -, key;
                   ^
0_0_36151930_8416.cpp:64:15: error: declaration of 'dir' as multidimensional array must have bounds for all dimensions except the first
     int dir[][] = {,,,,-,,,-};
               ^
0_0_36151930_8416.cpp:64:20: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                    ^
0_0_36151930_8416.cpp:64:21: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                     ^
0_0_36151930_8416.cpp:64:22: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                      ^
0_0_36151930_8416.cpp:64:23: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                       ^
0_0_36151930_8416.cpp:64:25: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                         ^
0_0_36151930_8416.cpp:64:26: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                          ^
0_0_36151930_8416.cpp:64:27: error: expected primary-expression before ',' token
     int dir[][] = {,,,,-,,,-};
                           ^
0_0_36151930_8416.cpp:64:29: error: expected primary-expression before '}' token
     int dir[][] = {,,,,-,,,-};
                             ^
0_0_36151930_8416.cpp:68:12: error: 'vis' was not declared in this scope
     memset(vis,,sizeof(vis));
            ^
0_0_36151930_8416.cpp:68:16: error: expected primary-expression before ',' token
     memset(vis,,sizeof(vis));
                ^
0_0_36151930_8416.cpp:69:29: error: expected primary-expression before ';' token
     vis[P.stau][P.x][P.y] = ;
                             ^
0_0_36151930_8416.cpp:74:15: error: expected primary-expression before ';' token
         for(i=; i<; i++)
               ^
0_0_36151930_8416.cpp:74:19: error: expected primary-expression before ';' token
         for(i=; i<; i++)
                   ^
0_0_36151930_8416.cpp:76:26: error: 'dir' was not declared in this scope
             Pn.x = P.x + dir[i][];
                          ^
0_0_36151930_8416.cpp:76:33: error: expected primary-expression before ']' token
             Pn.x = P.x + dir[i][];
                                 ^
0_0_36151930_8416.cpp:77:33: error: expected primary-expression before ']' token
             Pn.y = P.y + dir[i][];
                                 ^
0_0_36151930_8416.cpp:78:32: error: expected primary-expression before ';' token
             Pn.step = P.step + ;
                                ^
0_0_36151930_8416.cpp:83:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(Pn.x>= && Pn.x<m && Pn.y>= && Pn.y<n && map[Pn.x][Pn.y] != '*')
                          ^
0_0_36151930_8416.cpp:83:28: error: expected ')' before '.' token
             if(Pn.x>= && Pn.x<m && Pn.y>= && Pn.y<n && map[Pn.x][Pn.y] != '*')
                            ^
0_0_36151930_8416.cpp:85:20: error: 'map' was not declared in this scope
                 if(map[Pn.x][Pn.y] == '<')
                    ^
0_0_36151930_8416.cpp:88:37: error: expected primary-expression before '<<' token
                     if(Pn.stau == ((<<k)-) )
                                     ^
0_0_36151930_8416.cpp:88:42: error: expected primary-expression before ')' token
                     if(Pn.stau == ((<<k)-) )
                                          ^
0_0_36151930_8416.cpp:93:21: error: 'key' was not declared in this scope
                     key = map[Pn.x][Pn.y] - 'A';
                     ^
0_0_36151930_8416.cpp:94:37: error: expected primary-expression before '<<' token
                     if( ((Pn.stau)&(<<key)) ==  )
                                     ^
0_0_36151930_8416.cpp:94:49: error: expected primary-expression before ')' token
                     if( ((Pn.stau)&(<<key)) ==  )
                                                 ^
0_0_36151930_8416.cpp:97:36: error: expected primary-expression before '<<' token
                         Pn.stau += <<key;
                                    ^
0_0_36151930_8416.cpp:102:48: error: expected primary-expression before ';' token
                     vis[Pn.stau][Pn.x][Pn.y] = ;
                                                ^
0_0_36151930_8416.cpp:83:26: error: label 'Pn' used but not defined
             if(Pn.x>= && Pn.x<m && Pn.y>= && Pn.y<n && map[Pn.x][Pn.y] != '*')
                          ^


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-23 04:02:05, Gzip enabled