Borderou de evaluare (job #956127)
Utilizator | Data | 2 iunie 2013 11:51:32 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:10:46: error: ‘typeof’ was not declared in this scope
#define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it )
^
user.cpp:29:13: note: in expansion of macro ‘FORIT’
FORIT(it , v[nod])
^
user.cpp:29:19: error: expected ‘;’ before ‘it’
FORIT(it , v[nod])
^
user.cpp:10:48: note: in definition of macro ‘FORIT’
#define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it )
^
user.cpp:29:19: error: ‘it’ was not declared in this scope
FORIT(it , v[nod])
^
user.cpp:10:64: note: in definition of macro ‘FORIT’
#define FORIT( it,v ) for( typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it )
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !