Pagini recente » Borderou de evaluare (job #2690630) | Borderou de evaluare (job #802533) | Borderou de evaluare (job #3145383) | Borderou de evaluare (job #3256820) | Borderou de evaluare (job #3196954)
Borderou de evaluare (job #3196954)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:167:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
167 | mi[i][j]=N*N;
| ^
main.cpp:166:22: note: within this loop
166 | for(int j=1;j<=2;j++)
| ~^~~
In file included from /usr/include/c++/12.2.1/bits/specfun.h:45,
from /usr/include/c++/12.2.1/cmath:1935,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41,
from main.cpp:1:
In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]',
inlined from 'void Rezolvare()' at main.cpp:159:33:
/usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: array subscript 4 is outside array bounds of 'int [2][2]' [-Warray-bounds]
259 | if (__a < __b)
| ~~~~^~~~~
main.cpp: In function 'void Rezolvare()':
main.cpp:23:5: note: at offset 16 into object 'mi' of size 16
23 | int mi[2][2];
| ^~
In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]',
inlined from 'void Rezolvare()' at main.cpp:159:33:
/usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: array subscript 5 is outside array bounds of 'int [2][2]' [-Warray-bounds]
259 | if (__a < __b)
| ~~~~^~~~~
main.cpp: In function 'void Rezolvare()':
main.cpp:23:5: note: at offset 20 into object 'mi' of size 16
23 | int mi[2][2];
| ^~
In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]',
inlined from 'void Rezolvare()' at main.cpp:159:33:
/usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: array subscript 6 is outside array bounds of 'int [2][2]' [-Warray-bounds]
259 | if (__a < __b)
| ~~~~^~~~~
main.cpp: In function 'void Rezolvare()':
main.cpp:23:5: note: at offset 24 into object 'mi' of size 16
23 | int mi[2][2];
| ^~
main.cpp: In function 'int main()':
main.cpp:167:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
167 | mi[i][j]=N*N;
| ^
main.cpp:165:18: note: within this loop
165 | for(int i=1;i<=2;i++)
| ~^~~
main.cpp:167:20: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds]
167 | mi[i][j]=N*N;
| ~~~~~~~^
main.cpp:23:5: note: while referencing 'mi'
23 | int mi[2][2];
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 454kb | Killed by Signal 11 | 0 |
2 | 9ms | 434kb | Killed by Signal 11 | 0 |
3 | 9ms | 520kb | Killed by Signal 11 | 0 |
4 | 10ms | 581kb | Killed by Signal 11 | 0 |
5 | 10ms | 622kb | Killed by Signal 11 | 0 |
6 | 12ms | 729kb | Killed by Signal 11 | 0 |
7 | 9ms | 512kb | Killed by Signal 11 | 0 |
8 | 9ms | 462kb | Killed by Signal 11 | 0 |
9 | 10ms | 655kb | Killed by Signal 11 | 0 |
10 | 10ms | 864kb | Killed by Signal 11 | 0 |
11 | 3ms | 884kb | Killed by Signal 11 | 0 |
12 | 14ms | 1085kb | Killed by Signal 11 | 0 |
13 | 10ms | 1212kb | Killed by Signal 11 | 0 |
14 | 11ms | 1306kb | Killed by Signal 11 | 0 |
15 | 4ms | 1318kb | Killed by Signal 11 | 0 |
16 | 2ms | 516kb | Killed by Signal 11 | 0 |
17 | 4ms | 1208kb | Killed by Signal 11 | 0 |
18 | 11ms | 1417kb | Killed by Signal 11 | 0 |
19 | 9ms | 1085kb | Killed by Signal 11 | 0 |
20 | 9ms | 724kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |