Borderou de evaluare (job #1029458)
Utilizator | Data | 15 noiembrie 2013 14:50:06 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | FMI No Stress 4 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:17:47: error: ‘typeof’ was not declared in this scope
#define foreach(it, v) for (typeof((v).begin()) it = (v).begin(),stop=(v).end(); it != stop; ++it)
^
user.cpp:36:5: note: in expansion of macro ‘foreach’
foreach(it, team)
^
user.cpp:36:13: error: expected ‘;’ before ‘it’
foreach(it, team)
^
user.cpp:17:49: note: in definition of macro ‘foreach’
#define foreach(it, v) for (typeof((v).begin()) it = (v).begin(),stop=(v).end(); it != stop; ++it)
^
user.cpp:36:13: error: ‘it’ was not declared in this scope
foreach(it, team)
^
user.cpp:17:82: note: in definition of macro ‘foreach’
#define foreach(it, v) for (typeof((v).begin()) it = (v).begin(),stop=(v).end(); it != stop; ++it)
^
user.cpp:17:88: error: ‘stop’ was not declared in this scope
#define foreach(it, v) for (typeof((v).begin()) it = (v).begin(),stop=(v).end(); it != stop; ++it)
^
user.cpp:36:5: note: in expansion of macro ‘foreach’
foreach(it, team)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !