Borderou de evaluare (job #366486)

Utilizator Mishu91Andrei Misarca Mishu91 Data 22 noiembrie 2009 00:51:55
Problema Trafic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool Bfs()’: user.cpp:47:27: error: ‘memset’ was not declared in this scope memset(viz, 0, sizeof viz); ^ 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:56:3: 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:56:3: 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:56:3: note: in expansion of macro ‘foreach’ foreach(G[nod]) ^ user.cpp: In function ‘bool flux(int)’: user.cpp:76:23: error: ‘memset’ was not declared in this scope memset(F, 0, sizeof F); ^ 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:79:3: note: in expansion of macro ‘foreach’ foreach(G[i]) ^ user.cpp:9:43: error: expected ‘;’ before ‘it’ #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ user.cpp:79:3: note: in expansion of macro ‘foreach’ foreach(G[i]) ^ 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:79:3: note: in expansion of macro ‘foreach’ foreach(G[i]) ^ 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:93:3: note: in expansion of macro ‘foreach’ foreach(G[N]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms788kbIncorect0
24ms8kbOK5
320ms740kbOK5
420ms720kbOK5
54ms8kbIncorect0
64ms8kbOK5
78ms596kbIncorect0
840ms764kbIncorect0
932ms760kbIncorect0
1020ms652kbIncorect0
1116ms648kbOK5
1224ms704kbIncorect0
134ms12kbOK5
1452ms812kbIncorect0
1540ms792kbIncorect0
168ms616kbOK5
1716ms744kbOK5
1824ms748kbIncorect0
1916ms736kbOK5
2016ms728kbOK5
Punctaj total0

Ceva nu functioneaza?