Borderou de evaluare (job #2695625)

Utilizator Edwuard99Diaconescu Vlad Edwuard99 Data 13 ianuarie 2021 23:13:04
Problema Croco Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool BFS()': main.cpp:37:30: error: 'memset' was not declared in this scope memset(viz, 0, sizeof viz); ^ main.cpp:8:33: error: 'typeof' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:47:9: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ main.cpp:8:61: error: 'it' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:47:9: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ main.cpp: In function 'void find()': main.cpp:63:30: error: 'memset' was not declared in this scope memset(viz, 0, sizeof viz); ^ main.cpp:8:33: error: 'typeof' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:72:9: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ main.cpp:8:61: error: 'it' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:72:9: note: in expansion of macro 'foreach' foreach(G[nod]) ^~~~~~~ main.cpp: In function 'void flux()': main.cpp:87:26: error: 'memset' was not declared in this scope memset(T, 0, sizeof T); ^ main.cpp:8:33: error: 'typeof' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:92:9: note: in expansion of macro 'foreach' foreach(G[D]) ^~~~~~~ main.cpp:8:61: error: 'it' was not declared in this scope #define foreach(V) for(typeof (V).begin() it = (V).begin(); it != (V).end(); ++it) ^ main.cpp:92:9: note: in expansion of macro 'foreach' foreach(G[D]) ^~~~~~~ main.cpp: In function 'void solve()': main.cpp:8:33: error: 'typeof' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?