Požemis

Taškai: 100

Compile: OK

pozemis.cpp: In function ‘void bfs()’: pozemis.cpp:42:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 42 | auto [iStart, jkStart] = start; | ^ pozemis.cpp:43:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 43 | auto [jStart, kStart] = jkStart; | ^ pozemis.cpp:47:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 47 | auto [i, jk] = q.front(); q.pop(); | ^ pozemis.cpp:48:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 48 | auto [j, k] = jk; | ^ pozemis.cpp:52:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 52 | for(auto [mj, mk] : possMoves) { | ^ pozemis.cpp: In function ‘void solve(const char*, const char*)’: pozemis.cpp:106:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 106 | auto [iEnd, jkEnd] = finish; | ^ pozemis.cpp:107:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 107 | auto [jEnd, kEnd] = jkEnd; | ^ pozemis.cpp:80:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 80 | freopen(inFileLocation, "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pozemis.cpp:81:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | freopen(outFileLocation, "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nr.resulttimemessage
1True0.001 sok
2True0.002 sok
3True0.001 sok
4True0.001 sok
5True0.001 sok
6True0.001 sok
7True0.001 sok
8True0.003 sok
9True0.006 sok
10True0.002 sok
11True0.001 sok
12True0.005 sok
13True0.001 sok