Borderou de evaluare (job #3155422)

Utilizator Antonio09Nastase Antonio Antonio09 Data 8 octombrie 2023 12:08:32
Problema Cifre4 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

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
134ms83439kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?