Borderou de evaluare (job #2845161)

Utilizator DordeDorde Matei Dorde Data 7 februarie 2022 16:22:36
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int32_t main()': main.cpp:23:9: error: 'h' was not declared in this scope 23 | h.push(make_pair(0 , chk[i])); | ^ main.cpp:27:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 27 | auto [w , to] = h.top(); | ^ main.cpp:31:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 31 | for(auto [w1 , to1] : v[to]){ | ^ Non zero exit status: 1

Ceva nu functioneaza?