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_17406876_20741.cpp:172:1: error: stray '\312' in program
 试了试也可以搞成二维的:
 ^
0_0_17406876_20741.cpp:172:1: error: stray '\324' in program
0_0_17406876_20741.cpp:172:1: error: stray '\301' in program
0_0_17406876_20741.cpp:172:1: error: stray '\313' in program
0_0_17406876_20741.cpp:172:1: error: stray '\312' in program
0_0_17406876_20741.cpp:172:1: error: stray '\324' in program
0_0_17406876_20741.cpp:172:1: error: stray '\322' in program
0_0_17406876_20741.cpp:172:1: error: stray '\262' in program
0_0_17406876_20741.cpp:172:1: error: stray '\277' in program
0_0_17406876_20741.cpp:172:1: error: stray '\311' in program
0_0_17406876_20741.cpp:172:1: error: stray '\322' in program
0_0_17406876_20741.cpp:172:1: error: stray '\324' in program
0_0_17406876_20741.cpp:172:1: error: stray '\270' in program
0_0_17406876_20741.cpp:172:1: error: stray '\343' in program
0_0_17406876_20741.cpp:172:1: error: stray '\263' in program
0_0_17406876_20741.cpp:172:1: error: stray '\311' in program
0_0_17406876_20741.cpp:172:1: error: stray '\266' in program
0_0_17406876_20741.cpp:172:1: error: stray '\376' in program
0_0_17406876_20741.cpp:172:1: error: stray '\316' in program
0_0_17406876_20741.cpp:172:1: error: stray '\254' in program
0_0_17406876_20741.cpp:172:1: error: stray '\265' in program
0_0_17406876_20741.cpp:172:1: error: stray '\304' in program
0_0_17406876_20741.cpp:172:1: error: stray '\243' in program
0_0_17406876_20741.cpp:172:1: error: stray '\272' in program
0_0_17406876_20741.cpp: In function 'void add_edge(int, int, int, int)':
0_0_17406876_20741.cpp:22:5: error: reference to 'next' is ambiguous
     next[cc]=first[u];  
     ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_17406876_20741.cpp:30:5: error: reference to 'next' is ambiguous
     next[cc]=first[v];  
     ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_17406876_20741.cpp: In function 'int SPFA(int, int)':
0_0_17406876_20741.cpp:51:32: error: reference to 'next' is ambiguous
         for(i=first[u];i!=-1;i=next[i])  
                                ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_17406876_20741.cpp: In function 'int main()':
0_0_17406876_20741.cpp:124:16: error: reference to 'next' is ambiguous
         memset(next,-1,sizeof(next));  
                ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_17406876_20741.cpp:124:31: error: reference to 'next' is ambiguous
         memset(next,-1,sizeof(next));  
                               ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_17406876_20741.cpp: At global scope:
0_0_17406876_20741.cpp:173:1: error: expected unqualified-id before '[' token
 [cpp] view plain copy
 ^
0_0_17406876_20741.cpp:182:8: error: redefinition of 'struct node'
 struct node  
        ^
0_0_17406876_20741.cpp:9:8: error: previous definition of 'struct node'
 struct node  
        ^
0_0_17406876_20741.cpp:187:12: error: redefinition of 'node e [30000]'
 node e[MAXM];  
            ^
0_0_17406876_20741.cpp:13:6: note: 'node e [30000]' previously declared here
 node e[MAXM];  
      ^
0_0_17406876_20741.cpp:188:15: error: redefinition of 'int first [3000]'
 int first[MAXN],next[MAXM],cc,ss;  
               ^
0_0_17406876_20741.cpp:14:5: note: 'int first [3000]' previously declared here
 int first[MAXN],next[MAXM],cc;  
     ^
0_0_17406876_20741.cpp:188:26: error: redefinition of 'int next [30000]'
 int first[MAXN],next[MAXM],cc,ss;  
                          ^
0_0_17406876_20741.cpp:14:17: note: 'int next [30000]' previously declared here
 int first[MAXN],next[MAXM],cc;  
                 ^
0_0_17406876_20741.cpp:188:28: error: redefinition of 'int cc'
 int first[MAXN],next[MAXM],cc,ss;  
                            ^
0_0_17406876_20741.cpp:14:28: note: 'int cc' previously declared here
 int first[MAXN],next[MAXM],cc;  
                            ^
0_0_17406876_20741.cpp:189:13: error: redefinition of 'int inq [3000]'
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN],d1[MAXN];  
             ^
0_0_17406876_20741.cpp:15:5: note: 'int inq [3000]' previously declared here
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN];  
     ^
0_0_17406876_20741.cpp:189:23: error: redefinition of 'int pre [3000]'
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN],d1[MAXN];  
                       ^
0_0_17406876_20741.cpp:15:15: note: 'int pre [3000]' previously declared here
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN];  
               ^
0_0_17406876_20741.cpp:189:37: error: redefinition of 'int preedge [3000]'
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN],d1[MAXN];  
                                     ^
0_0_17406876_20741.cpp:15:25: note: 'int preedge [3000]' previously declared here
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN];  
                         ^
0_0_17406876_20741.cpp:189:45: error: redefinition of 'int d [3000]'
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN],d1[MAXN];  
                                             ^
0_0_17406876_20741.cpp:15:39: note: 'int d [3000]' previously declared here
 int inq[MAXN],pre[MAXN],preedge[MAXN],d[MAXN];  
                                       ^
0_0_17406876_20741.cpp: In function 'void add_edge(int, int, int, int, int)':
0_0_17406876_20741.cpp:196:11: error: 'struct node' has no member named 'c1'
     e[cc].c1=c1;  
           ^
0_0_17406876_20741.cpp:197:5: error: reference to 'next' is ambiguous
     next[cc]=first[u];  
     ^
0_0_17406876_20741.cpp:14:17: note: candidates are: int next [30000]
 int first[MAXN],next[MAXM],cc;  
                 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17406876_20741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator


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-07-02 14:49:20, Gzip enabled