Borderou de evaluare (job #3197766)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 27 ianuarie 2024 13:48:44
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:34:28: warning: comparison of integer expressions of different signedness: 'std::priority_queue<cv>::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] 34 | if (ans.size() == K) { | ~~~~~~~~~~~^~~~ main.cpp:38: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] 38 | for (const pair<short,short>& edge : G[pq.top().node]) { | ^~~~ main.cpp:38: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
659ms19439kbOK10
749ms19492kbOK10
853ms20611kbMemory limit exceeded0
953ms20668kbMemory limit exceeded0
1052ms20525kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?