Kauliuko kelionė

Taškai: 0

Compile: OK

kauliukas.cpp: In function ‘int main()’: kauliukas.cpp:43:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kauliukas.s02.in", "r", stdin); ^ kauliukas.cpp:237:72: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if(k[m[c][d]][f] == k[m[c][d+1]][pb] && p[c][d+1][pb] > p[c][d][f] + 1) ^ kauliukas.cpp:235:52: note: containing loop for(int pb = 1; pb <= 4; pb++) ^ kauliukas.cpp:210:72: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if(k[m[c][d]][f] == k[m[c][d-1]][pb] && p[c][d-1][pb] > p[c][d][f] + 1) ^ kauliukas.cpp:208:52: note: containing loop for(int pb = 1; pb <= 4; pb++) ^ kauliukas.cpp:182:55: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if(k[m[c+1][d]][pb] == m[c][d]) ^ kauliukas.cpp:180:52: note: containing loop for(int pb = 1; pb <= 4; pb++) ^ kauliukas.cpp:39:31: warning: iteration 99u invokes undefined behavior [-Waggressive-loop-optimizations] p[a][b][f] = 9; ^ kauliukas.cpp:35:26: note: containing loop for(int b = 1; b <= 100; b++) ^

nr.resulttimemessage
1False0.0 sNeteisinga eilutė
2False0.0 sNeteisinga eilutė
3False0.0 sNeteisinga eilutė
4False0.0 sNeteisinga eilutė
5False0.0 sNeteisinga eilutė
6False0.0 sNeteisinga eilutė
7False0.004 sNeteisinga eilutė
8False0.0 sNeteisinga eilutė
9False0.0 sNeteisinga eilutė
10False0.0 sNeteisinga eilutė
11False0.004 sNeteisinga eilutė