Borderou de evaluare (job #951923)
Utilizator | Data | 22 mai 2013 12:27:10 | |
---|---|---|---|
Problema | Amici2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:43: 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:44:3: note: in expansion of macro ‘FORIT’
FORIT (it, vertex[nod])
^
user.cpp:44:10: error: expected ‘;’ before ‘it’
FORIT (it, vertex[nod])
^
user.cpp:8:45: note: in definition of macro ‘FORIT’
#define FORIT(it,v) for(typeof((v).begin()) it=(v).begin(); it!=(v).end(); ++it)
^
user.cpp:44:10: error: ‘it’ was not declared in this scope
FORIT (it, vertex[nod])
^
user.cpp:8:61: 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 !