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. | result | time | message |
---|---|---|---|
1 | False | 0.0 s | Neteisinga eilutė |
2 | False | 0.0 s | Neteisinga eilutė |
3 | False | 0.0 s | Neteisinga eilutė |
4 | False | 0.0 s | Neteisinga eilutė |
5 | False | 0.0 s | Neteisinga eilutė |
6 | False | 0.0 s | Neteisinga eilutė |
7 | False | 0.004 s | Neteisinga eilutė |
8 | False | 0.0 s | Neteisinga eilutė |
9 | False | 0.0 s | Neteisinga eilutė |
10 | False | 0.0 s | Neteisinga eilutė |
11 | False | 0.004 s | Neteisinga eilutė |