Borderou de evaluare (job #366487)

Utilizator Mishu91Andrei Misarca Mishu91 Data 22 noiembrie 2009 00:56:32
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:104:3: note: in expansion of macro ‘foreach’ foreach(G[N]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms816kbIncorect0
24ms12kbOK5
324ms752kbOK5
420ms724kbOK5
54ms12kbIncorect0
64ms12kbOK5
74ms600kbIncorect0
832ms772kbOK5
936ms768kbIncorect0
1016ms656kbIncorect0
1116ms652kbOK5
1220ms712kbOK5
134ms8kbOK5
1444ms816kbIncorect0
1552ms796kbIncorect0
168ms624kbOK5
1712ms748kbOK5
1824ms752kbIncorect0
1916ms744kbOK5
2016ms724kbOK5
Punctaj total0

Ceva nu functioneaza?