Borderou de evaluare (job #1301110)
Utilizator | Data | 25 decembrie 2014 16:34:30 | |
---|---|---|---|
Problema | Ciclu2 | Status | done |
Runda | Happy Birthday Infoarena 2014 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void back(int)’:
user.cpp:15:44: error: ‘typeof’ was not declared in this scope
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
user.cpp:29:9: note: in expansion of macro ‘FOREACH’
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:29:17: error: expected ‘;’ before ‘t’
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:15:46: note: in definition of macro ‘FOREACH’
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
user.cpp:29:17: error: ‘t’ was not declared in this scope
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:15:61: note: in definition of macro ‘FOREACH’
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
user.cpp:15:44: error: ‘typeof’ was not declared in this scope
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
user.cpp:40:9: note: in expansion of macro ‘FOREACH’
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:40:17: error: expected ‘;’ before ‘t’
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:15:46: note: in definition of macro ‘FOREACH’
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
user.cpp:40:17: error: ‘t’ was not declared in this scope
FOREACH(t,G[ v[i-1] ]) if(!mark[v[i-1]][*t]) {
^
user.cpp:15:61: note: in definition of macro ‘FOREACH’
#define FOREACH(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); ++i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !