Kauliuko kelionė

Taškai: 0

Compile: OK

kauliukas.cpp: In function ‘int main()’: kauliukas.cpp:240: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:238:52: note: containing loop for(int pb = 1; pb <= 4; pb++) ^ kauliukas.cpp:212: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:210:52: note: containing loop for(int pb = 1; pb <= 4; pb++) ^ kauliukas.cpp:183:55: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if(k[m[c+1][d]][pb] == m[c][d]) ^ kauliukas.cpp:181: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.004 sNeteisinga eilutė
2False0.0 sNeteisinga eilutė
3False0.0 sNeteisinga eilutė
4False0.004 sNeteisinga eilutė
5False0.008 sNeteisinga eilutė
6False0.04 sNeteisinga eilutė
7False0.004 sNeteisinga eilutė
8False0.672 sNeteisinga eilutė
9False1.08 sTime limit exceeded (wall clock)
10False0.004 sNeteisinga eilutė
11False0.0 sNeteisinga eilutė