Borderou de evaluare (job #3196946)

Utilizator and_Turcu Andrei and_ Data 24 ianuarie 2024 23:55:47
Problema AI Status done
Runda lmk_12_vs Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: 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 'int main()' at main.cpp:150:20: /usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 259 | if (__a < __b) | ~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:149:22: note: within this loop 149 | for(int j=0;j<=1;j++) | ~^~~ main.cpp:145:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 145 | mi[i][j]=N*N; | ^ main.cpp:144:22: note: within this loop 144 | for(int j=1;j<=2;j++) | ~^~~ In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]', inlined from 'int main()' at main.cpp:150:20: /usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 259 | if (__a < __b) | ~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:148:18: note: within this loop 148 | for(int i=0;i<=1;i++) | ~^~~ main.cpp:145:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 145 | mi[i][j]=N*N; | ^ main.cpp:143:18: note: within this loop 143 | for(int i=1;i<=2;i++) | ~^~~ main.cpp:145:20: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 145 | mi[i][j]=N*N; | ~~~~~~~^ main.cpp:23:5: note: while referencing 'mi' 23 | int mi[2][2]; | ^~ main.cpp:145:17: warning: array subscript 2 is above array bounds of 'int [2][2]' [-Warray-bounds] 145 | mi[i][j]=N*N; | ~~~~^ main.cpp:23:5: note: while referencing 'mi' 23 | int mi[2][2]; | ^~ main.cpp:145:20: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 145 | mi[i][j]=N*N; | ~~~~~~~^ main.cpp:23:5: note: while referencing 'mi'
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms417kbKilled by Signal 110
25ms434kbKilled by Signal 110
35ms466kbKilled by Signal 110
46ms581kbKilled by Signal 110
56ms614kbKilled by Signal 110
613ms729kbKilled by Signal 110
75ms512kbKilled by Signal 110
85ms458kbKilled by Signal 110
911ms638kbKilled by Signal 110
1011ms872kbKilled by Signal 110
114ms884kbKilled by Signal 110
1214ms1089kbKilled by Signal 110
1311ms1212kbKilled by Signal 110
1412ms1318kbKilled by Signal 110
154ms1335kbKilled by Signal 110
163ms524kbKilled by Signal 110
1712ms1208kbKilled by Signal 110
1817ms1425kbKilled by Signal 110
1912ms1093kbKilled by Signal 110
2012ms757kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?