Borderou de evaluare (job #3196947)

Utilizator and_Turcu Andrei and_ Data 24 ianuarie 2024 23:56:59
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:151: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:150:22: note: within this loop 150 | for(int j=0;j<=1;j++) | ~^~~ main.cpp:146:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 146 | mi[i][j]=N*N; | ^ main.cpp:145:22: note: within this loop 145 | 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:151: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:18: note: within this loop 149 | for(int i=0;i<=1;i++) | ~^~~ main.cpp:146:21: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 146 | mi[i][j]=N*N; | ^ main.cpp:144:18: note: within this loop 144 | for(int i=1;i<=2;i++) | ~^~~ main.cpp:146:20: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 146 | mi[i][j]=N*N; | ~~~~~~~^ main.cpp:23:5: note: while referencing 'mi' 23 | int mi[2][2]; | ^~ main.cpp:146:17: warning: array subscript 2 is above array bounds of 'int [2][2]' [-Warray-bounds] 146 | mi[i][j]=N*N; | ~~~~^ main.cpp:23:5: note: while referencing 'mi' 23 | int mi[2][2]; | ^~ main.cpp:146:20: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 146 | mi[i][j]=N*N; | ~~~~~~~^ main.cpp:23:5: note: while referencing 'mi'
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms417kbKilled by Signal 110
210ms425kbKilled by Signal 110
35ms462kbKilled by Signal 110
411ms569kbKilled by Signal 110
56ms614kbKilled by Signal 110
613ms729kbKilled by Signal 110
710ms507kbKilled by Signal 110
810ms475kbKilled by Signal 110
911ms638kbKilled by Signal 110
106ms868kbKilled by Signal 110
114ms884kbKilled by Signal 110
1214ms1089kbKilled by Signal 110
1311ms1212kbKilled by Signal 110
1412ms1314kbKilled by Signal 110
154ms1327kbKilled by Signal 110
163ms524kbKilled by Signal 110
175ms1212kbKilled by Signal 110
1812ms1462kbKilled by Signal 110
1910ms1097kbKilled by Signal 110
2010ms724kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?