Borderou de evaluare (job #3003674)

Utilizator axel5919Marius Boroica axel5919 Data 15 martie 2023 21:00:37
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:42:81: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 42 | if ((ndist <= dist[pos]) and (app[pos] != -1)) app[pos] = (nod.fort < app[pos]) ? nod.fort : app[pos]; | ~~~~~~~~~^~~~~~~~~~ main.cpp:45:77: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 45 | if ((ndist <= dist[pos]) and (app[pos] != -1)) app[pos] = (nod.fort < app[pos]) ? nod.fort : app[pos]; | ~~~~~~~~~^~~~~~~~~~ main.cpp:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for (int i = 0; i < conn[pos].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:50:29: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare] 50 | if (dist[vecin] >= dist[pos] + cost[pos][i]) {
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbIncorect0
34ms2412kbOK10
40ms184kbOK10
514ms3211kbIncorect0
627ms4018kbIncorect0
70ms184kbOK10
83ms2412kbIncorect0
923ms3801kbIncorect0
1073ms5677kbIncorect0
Punctaj total40

Ceva nu functioneaza?