Borderou de evaluare (job #3197768)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 27 ianuarie 2024 13:54:29
Problema Pitici Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:35: warning: loop variable 'edge' of type 'const std::pair<short int, short int>&' binds to a temporary constructed from type 'std::pair<const short int, short int>' [-Wrange-loop-construct] 28 | for (const pair<short,short>& edge : G[1]) { | ^~~~ main.cpp:28:35: note: use non-reference type 'const std::pair<short int, short int>' to make the copy explicit or 'const std::pair<const short int, short int>&' to prevent copying main.cpp:35:28: warning: comparison of integer expressions of different signedness: 'std::priority_queue<cv>::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] 35 | if (ans.size() == K) { | ~~~~~~~~~~~^~~~ main.cpp:39:43: warning: loop variable 'edge' of type 'const std::pair<short int, short int>&' binds to a temporary constructed from type 'std::pair<const short int, short int>' [-Wrange-loop-construct] 39 | for (const pair<short,short>& edge : G[pq.top().node]) { | ^~~~ main.cpp:39:43: note: use non-reference type 'const std::pair<short int, short int>' to make the copy explicit or 'const std::pair<const short int, short int>&' to prevent copying
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
33ms1466kbOK10
41ms557kbOK10
51ms557kbOK10
664ms19435kbOK10
754ms19607kbOK10
855ms20566kbMemory limit exceeded0
953ms20697kbMemory limit exceeded0
1054ms20688kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?