Borderou de evaluare (job #2444539)

Utilizator alexoloieriAlexandru Oloieri alexoloieri Data 31 iulie 2019 18:00:16
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In constructor 'maximumBipartiteMatching::maximumBipartiteMatching()': main.cpp:15:10: warning: 'maximumBipartiteMatching::created' will be initialized after [-Wreorder] bool created; ^~~~~~~ main.cpp:12:11: warning: 'bool* maximumBipartiteMatching::visited' [-Wreorder] bool *visited; ^~~~~~~ main.cpp:37:5: warning: when initialized here [-Wreorder] maximumBipartiteMatching(): ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'bool maximumBipartiteMatching::computeMaxCoupling(std::vector<std::pair<unsigned int, unsigned int> >&)': main.cpp:81:38: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(visited, 0, sizeof(visited)); ^ main.cpp: In function 'int main()': main.cpp:109:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<unsigned int, unsigned int> >::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", ans.size()); ^ main.cpp:96:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cuplaj.in","r",stdin); ^ main.cpp:97:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cuplaj.out","w",stdout); ^ main.cpp:100:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&n,&m,&cnt); ^ main.cpp:104:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbRaspuns gresit0
43ms131kbRaspuns gresit0
54ms131kbRaspuns gresit0
611ms393kbRaspuns gresit0
723ms524kbKilled by Signal 110
820ms655kbRaspuns gresit0
938ms1048kbRaspuns gresit0
1079ms1572kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?