Pagini recente » Borderou de evaluare (job #1853997) | Borderou de evaluare (job #1840888) | Borderou de evaluare (job #1982878) | Borderou de evaluare (job #278366) | Borderou de evaluare (job #3155422)
Borderou de evaluare (job #3155422)
Raport evaluator
Compilare:
main.cpp: In function 'int BFS(unsigned int, unsigned int)':
main.cpp:63:24: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
63 | delete nod.vf;
| ^~
In copy constructor 'Nod::Nod(const Nod&)',
inlined from 'int BFS(unsigned int, unsigned int)' at main.cpp:39:27:
main.cpp:22:36: note: returned from 'void* operator new [](std::size_t)'
22 | this->vf = new char[nod.dim];
| ^
main.cpp: In function 'int BFS(unsigned int, unsigned int)':
main.cpp:66:24: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
66 | delete nod.vf;
| ^~
In copy constructor 'Nod::Nod(const Nod&)',
inlined from 'int BFS(unsigned int, unsigned int)' at main.cpp:39:27:
main.cpp:22:36: note: returned from 'void* operator new [](std::size_t)'
22 | this->vf = new char[nod.dim];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 34ms | 83439kb | Memory limit exceeded | 0 |
Punctaj total | 0 |