Borderou de evaluare (job #2265848)

Utilizator alexnigaNiga Alexandru alexniga Data 21 octombrie 2018 20:02:53
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'long long int RidicareLogaritmica(long long int)': main.cpp:61:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'void creareA(int, int, int)': main.cpp:21:33: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] B[i][j] = A[i][j]; ~~~~~~^ main.cpp:20:27: note: within this loop for( int j = 1; j <= 3; j++) ~~^~~~ main.cpp: In function 'void fun(long long int (*)[3], long long int (*)[3])': main.cpp:40:29: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] A[i][j] = C[i][j]; ~~~~~~^ main.cpp:39:23: note: within this loop for (j = 1; j <= 3; j++) ~~^~~~ main.cpp:30:20: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] C[i][j]=0; ~~~~~~~^~ main.cpp:29:22: note: within this loop for(int j=1;j<=3;j++) ~^~~ main.cpp: In function 'void creareA(int, int, int)': main.cpp:21:33: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] B[i][j] = A[i][j]; ~~~~~~^ main.cpp:19:24: note: within this loop for( int i = 1; i <= 3; ++i) ~~^~~~ main.cpp:15:37: warning: array subscript is above array bounds [-Warray-bounds] A[1][1] = 0; A[1][2] = 1; A[1][3] = 0; ~~~~~~^ main.cpp:16:37: warning: array subscript is above array bounds [-Warray-bounds] A[2][1] = 0; A[2][2] = 0; A[2][3] = 1; ~~~~~~^ main.cpp:17:8: warning: array subscript is above array bounds [-Warray-bounds] A[3][1] = c; A[3][2] = b; A[3][3] = a; ~~~^ main.cpp:17:21: warning: array subscript is above array bounds [-Warray-bounds] A[3][1] = c; A[3][2] = b; A[3][3] = a; ~~~^ main.cpp:17:37: warning: array subscript is above array bounds [-Warray-bounds] A[3][1] = c; A[3][2] = b; A[3][3] = a; ~~~~~~^ main.cpp:17:34: warning: array subscript is above array bounds [-Warray-bounds] A[3][1] = c; A[3][2] = b; A[3][3] = a; ~~~^ main.cpp:21:33: warning: array subscript is above array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?