Borderou de evaluare (job #2327586)
Utilizator | Data | 24 ianuarie 2019 19:32:02 | |
---|---|---|---|
Problema | PetSoft | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int find(int*, int)':
main.cpp:18:23: error: 'memcpy' was not declared in this scope
memcpy(V, v, sizeof V);
^
main.cpp:20:17: error: 'sort' was not declared in this scope
sort(V+1, V+M+1);
^
main.cpp: In function 'void df(int)':
main.cpp:7: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:38:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
main.cpp:7: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:38:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
main.cpp:7: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:42:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
main.cpp:7: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:42:2: note: in expansion of macro 'foreach'
foreach(G[nod])
^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !