Borderou de evaluare (job #3168554)

Utilizator CraniXortDumitrescul Eduard CraniXort Data 12 noiembrie 2023 18:28:32
Problema Oracol Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void trilant()': main.cpp:330:19: warning: unused variable 'cost' [-Wunused-variable] 330 | long long cost = pq.top().first; | ^~~~ main.cpp: In function 'void oracol()': main.cpp:392:24: warning: unused variable 'min' [-Wunused-variable] 392 | long long ans = 0, min = 1e9; | ^~~ main.cpp: In function 'void trilant()': main.cpp:358:13: warning: 'endNode' may be used uninitialized [-Wmaybe-uninitialized] 358 | int l = len[i][node]; | ^ main.cpp:346:9: note: 'endNode' was declared here 346 | int endNode; | ^~~~~~~ In file included from /usr/include/c++/12.2.1/vector:65, from main.cpp:3: In member function 'constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]', inlined from 'void cablaj()' at main.cpp:169:22: /usr/include/c++/12.2.1/bits/stl_bvector.h:1036:23: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 1036 | { return begin()[__n]; } | ~~~~~~~^ main.cpp: In function 'void cablaj()': main.cpp:159:13: note: 'index' was declared here 159 | int index; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect!12
20ms303kbCorect!12
34ms1204kbCorect!12
48ms3555kbCorect!13
529ms6696kbCorect!13
644ms13058kbCorect!13
764ms13107kbCorect!13
80ms303kbCorect!12
Punctaj total100

Ceva nu functioneaza?