Borderou de evaluare (job #914107)

Utilizator ericptsStavarache Petru Eric ericpts Data 13 martie 2013 21:39:33
Problema Arbpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(const int&, const int&)’: user.cpp:9:44: error: ‘typeof’ was not declared in this scope #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:19:5: note: in expansion of macro ‘forEach’ forEach(G[a],it_1){ ^ user.cpp:19:18: error: expected ‘;’ before ‘it_1’ forEach(G[a],it_1){ ^ user.cpp:9:46: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:19:18: error: ‘it_1’ was not declared in this scope forEach(G[a],it_1){ ^ user.cpp:9:63: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:20:22: error: expected ‘;’ before ‘it_2’ forEach(G[b],it_2){ ^ user.cpp:9:46: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:20:22: error: ‘it_2’ was not declared in this scope forEach(G[b],it_2){ ^ user.cpp:9:63: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp: In function ‘int main()’: user.cpp:9:44: error: ‘typeof’ was not declared in this scope #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:47:9: note: in expansion of macro ‘forEach’ forEach(G[i],it){ ^ user.cpp:47:22: error: expected ‘;’ before ‘it’ forEach(G[i],it){ ^ user.cpp:9:46: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^ user.cpp:47:22: error: ‘it’ was not declared in this scope forEach(G[i],it){ ^ user.cpp:9:63: note: in definition of macro ‘forEach’ #define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms312kbOK44
24ms312kbOK44
34ms304kbOK44
44ms320kbOK44
54ms328kbOK40
6200ms408kbOK4
760ms328kbOK4
8Depăşit392kbTime limit exceeded.0
920ms404kbOK412
108ms400kbOK4
1180ms400kbOK4
124ms316kbOK44
134ms316kbOK44
144ms320kbOK44
154ms316kbOK44
164ms328kbOK44
174ms320kbOK44
1840ms400kbOK424
198ms360kbOK4
208ms388kbOK4
2112ms404kbOK4
2212ms396kbOK4
2316ms400kbOK4
2420ms400kbOK40
25Depăşit392kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?