Borderou de evaluare (job #2888182)

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

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:66:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 66 | 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
11ms184kbOk!10
2207ms192kbTime limit exceeded0
32ms200kbOk!10
41ms184kbOk!10
51ms184kbOk!10
61ms184kbOk!10
71ms184kbOk!10
81ms184kbOk!10
91ms184kbOk!10
1020ms184kbOk!10
Punctaj total90

Ceva nu functioneaza?