Borderou de evaluare (job #1086434)

Utilizator laurionLaurentiu Ion laurion Data 18 ianuarie 2014 02:54:28
Problema Sate Status done
Runda Teme Pregatire ACM Unibuc 2013 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bf(int)’: user.cpp:64: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:85:9: note: in expansion of macro ‘foreach’ foreach(it,G[nod]) { ^ user.cpp:85:17: error: expected ‘;’ before ‘it’ foreach(it,G[nod]) { ^ user.cpp:64: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:85:17: error: ‘it’ was not declared in this scope foreach(it,G[nod]) { ^ user.cpp:64: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:64: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:85:9: note: in expansion of macro ‘foreach’ foreach(it,G[nod]) { ^

Ceva nu functioneaza?