Borderou de evaluare (job #3196955)

Utilizator and_Turcu Andrei and_ Data 25 ianuarie 2024 00:15:03
Problema AI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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]=10000000; | ~~~~~~~~^~~~~~~~~ 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]=10000000; | ~~~~~~~~^~~~~~~~~ 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]=10000000; | ~~~~~~~^ main.cpp:23:5: note: while referencing 'mi' 23 | int mi[2][2];
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms421kbKilled by Signal 110
29ms434kbKilled by Signal 110
39ms466kbKilled by Signal 110
410ms577kbKilled by Signal 110
510ms614kbKilled by Signal 110
612ms733kbKilled by Signal 110
79ms516kbKilled by Signal 110
89ms454kbKilled by Signal 110
910ms643kbKilled by Signal 110
1010ms864kbKilled by Signal 110
113ms884kbKilled by Signal 110
1214ms1093kbKilled by Signal 110
1310ms1216kbKilled by Signal 110
1411ms1310kbKilled by Signal 110
154ms1318kbKilled by Signal 110
162ms520kbKilled by Signal 110
174ms1204kbKilled by Signal 110
1811ms1437kbKilled by Signal 110
199ms1093kbKilled by Signal 110
209ms720kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?