Borderou de evaluare (job #950008)
Utilizator | Data | 15 mai 2013 18:00:21 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int Kruskal()’:
user.cpp:6:42: error: ‘typeof’ was not declared in this scope
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
user.cpp:46:5: note: in expansion of macro ‘TR’
TR (muchii, it)
^
user.cpp:46:17: error: expected ‘;’ before ‘it’
TR (muchii, it)
^
user.cpp:6:44: note: in definition of macro ‘TR’
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
user.cpp:46:17: error: ‘it’ was not declared in this scope
TR (muchii, it)
^
user.cpp:6:61: note: in definition of macro ‘TR’
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
user.cpp: In function ‘void Scriere()’:
user.cpp:6:42: error: ‘typeof’ was not declared in this scope
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
user.cpp:61:5: note: in expansion of macro ‘TR’
TR (muchii, it)
^
user.cpp:61:17: error: expected ‘;’ before ‘it’
TR (muchii, it)
^
user.cpp:6:44: note: in definition of macro ‘TR’
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
user.cpp:61:17: error: ‘it’ was not declared in this scope
TR (muchii, it)
^
user.cpp:6:61: note: in definition of macro ‘TR’
#define TR(C, it) for (typeof (C.begin ()) it = C.begin (); it != C.end (); it++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !