Borderou de evaluare (job #2709424)

Utilizator Ionut2791Voicila Ionut Marius Ionut2791 Data 20 februarie 2021 11:54:16
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas] #pragma GCC optimization("unroll-loops") main.cpp: In function 'void bfs()': main.cpp:43:20: error: expected unqualified-id before '[' token for (auto &[to, t, w] : graf[nod]) { ^ main.cpp:43:20: error: expected ';' before '[' token main.cpp:43:21: error: 'to' was not declared in this scope for (auto &[to, t, w] : graf[nod]) { ^~ main.cpp:43:25: error: 't' was not declared in this scope for (auto &[to, t, w] : graf[nod]) { ^ main.cpp:43:28: error: 'w' was not declared in this scope for (auto &[to, t, w] : graf[nod]) { ^ main.cpp: In lambda function: main.cpp:43:31: error: expected '{' before ':' token for (auto &[to, t, w] : graf[nod]) { ^ main.cpp: In function 'void bfs()': main.cpp:43:31: error: expected ';' before ':' token main.cpp:43:31: error: expected primary-expression before ':' token main.cpp:43:31: error: expected ')' before ':' token main.cpp:43:31: error: expected primary-expression before ':' token Non zero exit status: 1

Ceva nu functioneaza?