Požemis
- [1] 2024-01-23 16:06 (100)
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. | result | time | message |
---|---|---|---|
1 | True | 0.001 s | ok |
2 | True | 0.002 s | ok |
3 | True | 0.001 s | ok |
4 | True | 0.001 s | ok |
5 | True | 0.001 s | ok |
6 | True | 0.001 s | ok |
7 | True | 0.001 s | ok |
8 | True | 0.003 s | ok |
9 | True | 0.006 s | ok |
10 | True | 0.002 s | ok |
11 | True | 0.001 s | ok |
12 | True | 0.005 s | ok |
13 | True | 0.001 s | ok |