Borderou de evaluare (job #3194975)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 19 ianuarie 2024 20:45:49
Problema Apm2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:48:31: warning: loop variable 'elem' of type 'const std::pair<int, int>&' binds to a temporary constructed from type 'std::pair<const int, int>' [-Wrange-loop-construct] 48 | for (const pair<int,int>& elem: G[node]) { | ^~~~ main.cpp:48:31: note: use non-reference type 'const std::pair<int, int>' to make the copy explicit or 'const std::pair<const int, int>&' to prevent copying main.cpp: In function 'int dfsX(int)': main.cpp:69:31: warning: loop variable 'elem' of type 'const std::pair<int, int>&' binds to a temporary constructed from type 'std::pair<const int, int>' [-Wrange-loop-construct] 69 | for (const pair<int,int>& elem : G[nodeA]) { | ^~~~ main.cpp:69:31: note: use non-reference type 'const std::pair<int, int>' to make the copy explicit or 'const std::pair<const int, int>&' to prevent copying main.cpp: In function 'int centroid(int)': main.cpp:78:31: warning: loop variable 'elem' of type 'const std::pair<int, int>&' binds to a temporary constructed from type 'std::pair<const int, int>' [-Wrange-loop-construct] 78 | for (const pair<int,int>& elem : G[nodeA]) { | ^~~~ main.cpp:78:31: note: use non-reference type 'const std::pair<int, int>' to make the copy explicit or 'const std::pair<const int, int>&' to prevent copying
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
279ms303kbTime limit exceeded0
379ms823kbTime limit exceeded0
479ms5496kbTime limit exceeded0
579ms5242kbTime limit exceeded0
679ms4218kbTime limit exceeded0
779ms5959kbTime limit exceeded0
879ms8646kbTime limit exceeded0
979ms11558kbTime limit exceeded0
1077ms11460kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?