Pagini recente » Borderou de evaluare (job #2576367) | Borderou de evaluare (job #2172551) | Borderou de evaluare (job #2858915) | Borderou de evaluare (job #851951) | Borderou de evaluare (job #2888182)
Borderou de evaluare (job #2888182)
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 |
1 | 1ms | 184kb | Ok! | 10 |
2 | 207ms | 192kb | Time limit exceeded | 0 |
3 | 2ms | 200kb | Ok! | 10 |
4 | 1ms | 184kb | Ok! | 10 |
5 | 1ms | 184kb | Ok! | 10 |
6 | 1ms | 184kb | Ok! | 10 |
7 | 1ms | 184kb | Ok! | 10 |
8 | 1ms | 184kb | Ok! | 10 |
9 | 1ms | 184kb | Ok! | 10 |
10 | 20ms | 184kb | Ok! | 10 |
Punctaj total | 90 |