Borderou de evaluare (job #2987779)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 2 martie 2023 20:34:15
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for(int j=0;j<sets[oldset].size();++j) | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:48:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wformat=] 48 | printf("%d\n%d\n", ans, mst.size()); | ~^ ~~~~~~~~~~ | | | | int std::vector<std::pair<int, int> >::size_type {aka long unsigned int} | %ld main.cpp:49:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int i=0;i<mst.size();++i) | ~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms5070kbCorect10
20ms184kbCorect10
35ms5033kbCorect10
45ms5033kbCorect10
54ms5033kbCorect10
6160ms65552kbMemory limit exceeded0
7202ms65552kbMemory limit exceeded0
8119ms65552kbMemory limit exceeded0
930ms11014kbCorect10
10190ms65552kbMemory limit exceeded0
Punctaj total60

Ceva nu functioneaza?