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_37767099_9613.cpp:19:8: error: 'pil' was not declared in this scope
 vector<pil>mp[N],dj[N];
        ^
0_0_37767099_9613.cpp:19:11: error: template argument 1 is invalid
 vector<pil>mp[N],dj[N];
           ^
0_0_37767099_9613.cpp:19:11: error: template argument 2 is invalid
0_0_37767099_9613.cpp:19:17: error: invalid type in declaration before ',' token
 vector<pil>mp[N],dj[N];
                 ^
0_0_37767099_9613.cpp: In function 'void dij()':
0_0_37767099_9613.cpp:37:15: error: request for member 'clear' in 'mp[to.edge::to]', which is of non-class type 'int'
     mp[to.to].clear();
               ^
0_0_37767099_9613.cpp:38:15: error: request for member 'push_back' in 'mp[to.edge::to]', which is of non-class type 'int'
     mp[to.to].push_back({now,to.val});
               ^
0_0_37767099_9613.cpp:40:15: error: request for member 'push_back' in 'mp[to.edge::to]', which is of non-class type 'int'
     mp[to.to].push_back({now,to.val});
               ^
0_0_37767099_9613.cpp: In member function 'void<anonymous struct>::tarjan(int)':
0_0_37767099_9613.cpp:50:21: error: 'begin' was not declared in this scope
     for(auto to:mp[x]){
                     ^
0_0_37767099_9613.cpp:50:21: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
     begin(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
0_0_37767099_9613.cpp:50:21: error: 'end' was not declared in this scope
     for(auto to:mp[x]){
                     ^
0_0_37767099_9613.cpp:50:21: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
     end(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
0_0_37767099_9613.cpp: In member function 'void<anonymous struct>::G_init(int)':
0_0_37767099_9613.cpp:82:27: error: 'begin' was not declared in this scope
         for(auto to:mp[now]){
                           ^
0_0_37767099_9613.cpp:82:27: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
     begin(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
0_0_37767099_9613.cpp:82:27: error: 'end' was not declared in this scope
         for(auto to:mp[now]){
                           ^
0_0_37767099_9613.cpp:82:27: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
     end(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
0_0_37767099_9613.cpp:93:15: error: request for member 'push_back' in 'dj[f]', which is of non-class type 'int'
         dj[f].push_back({t,w});
               ^
0_0_37767099_9613.cpp: In function 'void dfs(int, int)':
0_0_37767099_9613.cpp:99:21: error: 'begin' was not declared in this scope
     for(auto to:dj[x])if(to.first!=pre){
                     ^
0_0_37767099_9613.cpp:99:21: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
     begin(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1206:5: note:   'std::begin'
0_0_37767099_9613.cpp:99:21: error: 'end' was not declared in this scope
     for(auto to:dj[x])if(to.first!=pre){
                     ^
0_0_37767099_9613.cpp:99:21: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
                 from 0_0_37767099_9613.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
     end(const valarray<_Tp>& __va)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note:   'std::end'
0_0_37767099_9613.cpp: In function 'int main()':
0_0_37767099_9613.cpp:112:19: error: request for member 'clear' in 'dj[i]', which is of non-class type 'int'
             dj[i].clear();mp[i].clear();G[i].clear();
                   ^
0_0_37767099_9613.cpp:112:33: error: request for member 'clear' in 'mp[i]', which is of non-class type 'int'
             dj[i].clear();mp[i].clear();G[i].clear();
                                 ^


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 03:34:31, Gzip enabled