Borderou de evaluare (job #3372416)

Utilizator laurentiu.maticaMatica Laurentiu-Andrei laurentiu.matica Data 3 noiembrie 2026 18:48:58
Problema Drumuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:19:21: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct] 19 | for (const auto [x,y] : g[n]) { | ^~~~~ main.cpp:19:21: note: use reference type to prevent copying 19 | for (const auto [x,y] : g[n]) { | ^~~~~ | & main.cpp: In function 'int main()': main.cpp:70:21: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct] 70 | for (const auto [x,y] : rez) { | ^~~~~ main.cpp:70:21: note: use reference type to prevent copying 70 | for (const auto [x,y] : rez) { | ^~~~~ | &
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbOk, Solutie buna.10
21ms557kbOk, Solutie buna.10
31ms561kbOk, Solutie buna.10
41ms819kbOk, Solutie buna.10
51ms819kbOk, Solutie buna.10
62ms819kbOk, Solutie buna.10
72ms1081kbOk, Solutie buna.10
83ms1343kbOk, Solutie buna.10
94ms1605kbOk, Solutie buna.10
108ms2916kbOk, Solutie buna.10
Punctaj total100

Ceva nu functioneaza?