Borderou de evaluare (job #3197764)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 27 ianuarie 2024 13:41:49
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:30: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] 30 | for (const pair<short,short>& edge : G[1]) { | ^~~~ main.cpp:30: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:37:28: warning: comparison of integer expressions of different signedness: 'std::priority_queue<cv>::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] 37 | if (ans.size() == K) { | ~~~~~~~~~~~^~~~ main.cpp:42: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] 42 | for (const pair<short,short>& edge : G[pq.top().node]) { | ^~~~ main.cpp:42: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
654ms19369kbOK10
753ms19619kbOK10
853ms20643kbMemory limit exceeded0
952ms20668kbMemory limit exceeded0
1051ms20594kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?