Borderou de evaluare (job #3196949)

Utilizator and_Turcu Andrei and_ Data 24 ianuarie 2024 23:58:10
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
111ms421kbKilled by Signal 110
210ms430kbKilled by Signal 110
310ms528kbKilled by Signal 110
411ms569kbKilled by Signal 110
57ms618kbKilled by Signal 110
612ms729kbKilled by Signal 110
710ms516kbKilled by Signal 110
810ms454kbKilled by Signal 110
911ms634kbKilled by Signal 110
1011ms868kbKilled by Signal 110
114ms888kbKilled by Signal 110
1215ms1085kbKilled by Signal 110
1311ms1208kbKilled by Signal 110
1412ms1314kbKilled by Signal 110
154ms1335kbKilled by Signal 110
163ms520kbKilled by Signal 110
175ms1269kbKilled by Signal 110
1811ms1421kbKilled by Signal 110
1910ms1089kbKilled by Signal 110
2010ms724kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?