Borderou de evaluare (job #2962010)

Utilizator bianca.andreiAndrei Bianca bianca.andrei Data 7 ianuarie 2023 17:12:41
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 8

Raport evaluator

Compilare: main.cpp:15:25: warning: built-in function 'fmax' declared as non-function [-Wbuiltin-declaration-mismatch] 15 | int flux[10003][10003], fmax, fmin = 9999999999, n, m, tata[10003], ok, e, nrmax; | ^~~~ main.cpp:15:31: warning: built-in function 'fmin' declared as non-function [-Wbuiltin-declaration-mismatch] 15 | int flux[10003][10003], fmax, fmin = 9999999999, n, m, tata[10003], ok, e, nrmax; | ^~~~ main.cpp:15:38: warning: overflow in conversion from 'long int' to 'int' changes value from '9999999999' to '1410065407' [-Woverflow] 15 | int flux[10003][10003], fmax, fmin = 9999999999, n, m, tata[10003], ok, e, nrmax; | ^~~~~~~~~~ main.cpp: In function 'void afisare()': main.cpp:53:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for(int j = 0; j < a[i].size(); j++) | ~~^~~~~~~~~~~~~ main.cpp: In function 'void bfs(int&)': main.cpp:75:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | for(int k = 0; k < a[nod].size(); k++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:101:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | for(int i = 0; i < a[nrmax].size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:108:24: warning: overflow in conversion from 'long int' to 'int' changes value from '9999999999' to '1410065407' [-Woverflow] 108 | fmin = 9999999999; tata[nrmax] = nod; | ^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbRaspuns gresit0
20ms184kbMultime de muchii incorecta4
30ms184kbRaspuns gresit0
40ms184kbRaspuns gresit0
55ms5324kbMultime de muchii incorecta4
617ms20369kbKilled by Signal 90
722ms18178kbKilled by Signal 90
89ms1323kbKilled by Signal 110
917ms2539kbKilled by Signal 110
1032ms2764kbKilled by Signal 110
Punctaj total8

Ceva nu functioneaza?