Borderou de evaluare (job #1018177)
Utilizator | Data | 28 octombrie 2013 22:53:11 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:4:42: error: ‘typeof’ was not declared in this scope
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:20:5: note: in expansion of macro ‘foreach’
foreach(G[i]) if(!mark[*it]) DFS(*it);
^
user.cpp:4:44: error: expected ‘;’ before ‘it’
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:20:5: note: in expansion of macro ‘foreach’
foreach(G[i]) if(!mark[*it]) DFS(*it);
^
user.cpp:4:59: error: ‘it’ was not declared in this scope
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:20:5: note: in expansion of macro ‘foreach’
foreach(G[i]) if(!mark[*it]) DFS(*it);
^
user.cpp: In function ‘void remove_edge(int, int)’:
user.cpp:4:42: error: ‘typeof’ was not declared in this scope
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:29:5: note: in expansion of macro ‘foreach’
foreach(G[b]) if(*it==a){
^
user.cpp:4:44: error: expected ‘;’ before ‘it’
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:29:5: note: in expansion of macro ‘foreach’
foreach(G[b]) if(*it==a){
^
user.cpp:4:59: error: ‘it’ was not declared in this scope
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:29:5: note: in expansion of macro ‘foreach’
foreach(G[b]) if(*it==a){
^
user.cpp: In function ‘int main()’:
user.cpp:4:42: error: ‘typeof’ was not declared in this scope
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:61:5: note: in expansion of macro ‘foreach’
foreach(S) out<<*it<<' ';
^
user.cpp:4:44: error: expected ‘;’ before ‘it’
#define foreach(G) for(typeof((G).begin()) it=(G).begin();it!=(G).end();++it)
^
user.cpp:61:5: note: in expansion of macro ‘foreach’
foreach(S) out<<*it<<' ';
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !