Borderou de evaluare (job #2888181)

Utilizator preda.andreiPreda Andrei preda.andrei Data 10 aprilie 2022 19:22:24
Problema Immortal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In constructor 'State::State(int, int, const std::vector<std::pair<int, int> >&)': main.cpp:31:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 31 | auto [row, col] = people[i]; | ^ main.cpp: In member function 'bool State::Move(int, const std::pair<int, int>&)': main.cpp:37:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 37 | auto [dr, dc] = dir; | ^ main.cpp:38:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 38 | auto [r, c] = people[index]; | ^ main.cpp:39:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 39 | auto [r1, c1] = make_pair(r + dr, c + dc); | ^ main.cpp:40:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 40 | auto [r2, c2] = make_pair(r1 + dr, c1 + dc); | ^ main.cpp: In member function 'void State::Undo()': main.cpp:67:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 67 | auto [r, c] = people[move.index]; | ^ main.cpp:71:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 71 | auto [kr, kc] = people[move.killed]; | ^ main.cpp: In member function 'std::tuple<int, int, int, int> State::LastMove() const': main.cpp:84:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 84 | auto [r1, c1] = make_pair(move.orig_row, move.orig_col); | ^ main.cpp:85:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 85 | auto [r2, c2] = people[move.index]; | ^ main.cpp: In function 'int main()': main.cpp:130:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 130 | for (auto& [row, col] : people) { | ^ main.cpp:137:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 137 | for (const auto& [r1, c1, r2, c2] : sol) { | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbRaspuns Gresit!0
21ms184kbRaspuns Gresit!0
31ms184kbRaspuns Gresit!0
41ms184kbFisier de iesire corupt!0
51ms184kbOk!10
61ms184kbFisier de iesire corupt!0
73ms290kbOk!10
81ms184kbOk!10
91ms184kbOk!10
101ms184kbFisier de iesire corupt!0
Punctaj total40

Ceva nu functioneaza?