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_29337167_2497.cpp: In function 'void getmap()':
0_0_29337167_2497.cpp:23:1: error: 'map' was not declared in this scope
 map[i][j]=0;
 ^
0_0_29337167_2497.cpp:27:1: error: 'map' was not declared in this scope
 map[i][j]=max;
 ^
0_0_29337167_2497.cpp:3:13: error: unable to find numeric literal operator 'operator""int'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:27:11: note: in expansion of macro 'max'
 map[i][j]=max;
           ^
0_0_29337167_2497.cpp:3:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:27:11: note: in expansion of macro 'max'
 map[i][j]=max;
           ^
0_0_29337167_2497.cpp: In function 'int Dijkstra(int)':
0_0_29337167_2497.cpp:43:1: error: 'flag' was not declared in this scope
 flag[i]=0;
 ^
0_0_29337167_2497.cpp:45:1: error: 'time' was not declared in this scope
 time[i]=map[s][i];
 ^
0_0_29337167_2497.cpp:45:9: error: 'map' was not declared in this scope
 time[i]=map[s][i];
         ^
0_0_29337167_2497.cpp:49:1: error: 'flag' was not declared in this scope
 flag[s]=1;
 ^
0_0_29337167_2497.cpp:51:1: error: 'time' was not declared in this scope
 time[s]=0;
 ^
0_0_29337167_2497.cpp:3:13: error: unable to find numeric literal operator 'operator""int'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:57:5: note: in expansion of macro 'max'
 min=max;
     ^
0_0_29337167_2497.cpp:3:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:57:5: note: in expansion of macro 'max'
 min=max;
     ^
0_0_29337167_2497.cpp:3:13: error: unable to find numeric literal operator 'operator""int'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:75:9: note: in expansion of macro 'max'
 if(min==max) break;
         ^
0_0_29337167_2497.cpp:3:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:75:9: note: in expansion of macro 'max'
 if(min==max) break;
         ^
0_0_29337167_2497.cpp:3:26: error: expected ')' before 'map'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
                          ^
0_0_29337167_2497.cpp:75:9: note: in expansion of macro 'max'
 if(min==max) break;
         ^
0_0_29337167_2497.cpp:75:12: error: expected primary-expression before ')' token
 if(min==max) break;
            ^
0_0_29337167_2497.cpp:81:32: error: 'map' was not declared in this scope
 if(!flag[j] && time[j]>time[k]+map[k][j])
                                ^
0_0_29337167_2497.cpp:3:13: error: unable to find numeric literal operator 'operator""int'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:87:6: note: in expansion of macro 'max'
 mint=max;
      ^
0_0_29337167_2497.cpp:3:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:87:6: note: in expansion of macro 'max'
 mint=max;
      ^
0_0_29337167_2497.cpp: In function 'int main()':
0_0_29337167_2497.cpp:121:4: error: 'map' was not declared in this scope
 if(map[a][b]>c)
    ^
0_0_29337167_2497.cpp:135:5: error: 'i' was not declared in this scope
 for(i=1;i<=ns;i++)
     ^
0_0_29337167_2497.cpp:3:13: error: unable to find numeric literal operator 'operator""int'
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:139:9: note: in expansion of macro 'max'
 int Min=max;
         ^
0_0_29337167_2497.cpp:3:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define max 100000000int map[1008][1008],flag[1005],time[1005];
             ^
0_0_29337167_2497.cpp:139:9: note: in expansion of macro 'max'
 int Min=max;
         ^
0_0_29337167_2497.cpp:141:5: error: 'i' was not declared in this scope
 for(i=1;i<=nt;i++)
     ^
0_0_29337167_2497.cpp:145:5: error: 'i' was not declared in this scope
 for(i=1;i<=ns;i++)
     ^


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-16 15:00:51, Gzip enabled