Pagini recente » Borderou de evaluare (job #1096162) | Borderou de evaluare (job #3148804) | Borderou de evaluare (job #2040241) | Borderou de evaluare (job #1780004) | Borderou de evaluare (job #2888201)
Borderou de evaluare (job #2888201)
Raport evaluator
Compilare:
main.cpp: In member function 'bool State::CanFight(int, int) const':
main.cpp:24:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
24 | auto [ri, ci] = pos[i];
| ^
main.cpp:25:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
25 | auto [rj, cj] = pos[j];
| ^
main.cpp:26:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
26 | auto [rnext, cnext] = make_pair(ri + 2 * (rj - ri), ci + 2 * (cj - ci));
| ^
main.cpp: In member function 'std::tuple<int, int, int, int> State::Fight(int, int)':
main.cpp:36:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
36 | auto [ri, ci] = pos[i];
| ^
main.cpp:37:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
37 | auto [rj, cj] = pos[j];
| ^
main.cpp: In function 'int main()':
main.cpp:110:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
110 | for (auto& [row, col] : people) {
| ^
main.cpp:117:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
117 | for (const auto& [r1, c1, r2, c2] : sol) {
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 184kb | Ok! | 10 |
2 | 192ms | 184kb | Ok! | 10 |
3 | 12ms | 184kb | Ok! | 10 |
4 | 3ms | 286kb | 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 | 12ms | 184kb | Ok! | 10 |
Punctaj total | 100 |