Borderou de evaluare (job #1232554)
| Utilizator | Data | 23 septembrie 2014 09:54:46 | |
|---|---|---|---|
| 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 euler(int, int)’:
user.cpp:12:40: error: ‘typeof’ was not declared in this scope
#define foor(it,V) for(typeof(V.begin()) it=V.begin();it!=V.end();++it)
^
user.cpp:35:5: note: in expansion of macro ‘foor’
foor(it,G[nod])
^
user.cpp:35:10: error: expected ‘;’ before ‘it’
foor(it,G[nod])
^
user.cpp:12:42: note: in definition of macro ‘foor’
#define foor(it,V) for(typeof(V.begin()) it=V.begin();it!=V.end();++it)
^
user.cpp:35:10: error: ‘it’ was not declared in this scope
foor(it,G[nod])
^
user.cpp:12:55: note: in definition of macro ‘foor’
#define foor(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 !
