Borderou de evaluare (job #1415575)
Utilizator | Data | 5 aprilie 2015 09:27:29 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:9:33: error: ‘typeof’ was not declared in this scope
#define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it)
^
user.cpp:38:5: note: in expansion of macro ‘foreach’
foreach(G[nod])
^
user.cpp:9:43: error: expected ‘;’ before ‘it’
#define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it)
^
user.cpp:38:5: note: in expansion of macro ‘foreach’
foreach(G[nod])
^
user.cpp:9:61: error: ‘it’ was not declared in this scope
#define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it)
^
user.cpp:38:5: note: in expansion of macro ‘foreach’
foreach(G[nod])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !