Borderou de evaluare (job #3198319)

Utilizator farcasselenaFarcas-Iorga Selena farcasselena Data 28 ianuarie 2024 19:46:48
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void inmultire_mat22(int (*)[2], int (*)[2])': main.cpp:19:28: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | A[i][j]=AB[i][j]; | ~~~~~~~^ main.cpp:18:22: note: within this loop 18 | for(int j=1;j<3;j++) | ~^~ main.cpp:15:20: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 15 | AB[i][j]%=mod; | ~~~~~~~^ main.cpp:11:22: note: within this loop 11 | for(int j=1;j<3;j++){ | ~^~ main.cpp: In function 'void inmultire_mat12(int (*)[2], int (*)[2])': main.cpp:34:28: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 34 | A[i][j]=AB[i][j]; | ~~~~~~~^ main.cpp:33:22: note: within this loop 33 | for(int j=1;j<3;j++) | ~^~ main.cpp:30:20: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 30 | AB[i][j]%=mod; | ~~~~~~~^ main.cpp:26:22: note: within this loop 26 | for(int j=1;j<3;j++){ | ~^~ main.cpp: In function 'void inmultire_mat22(int (*)[2], int (*)[2])': main.cpp:19:28: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | A[i][j]=AB[i][j]; | ~~~~~~~^ main.cpp:17:19: note: within this loop 17 | for (int i=1;i<3;i++) | ~^~ main.cpp:19:28: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds] 19 | A[i][j]=AB[i][j]; | ~~~~~~~^ main.cpp:9:19: note: while referencing 'AB' 9 | int long long AB[2][2]; | ^~ main.cpp:19:19: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 19 | A[i][j]=AB[i][j]; | ~~~~~~^ main.cpp:19:25: warning: array subscript 2 is above array bounds of 'long long int [2][2]' [-Warray-bounds] 19 | A[i][j]=AB[i][j]; | ~~~~^ main.cpp:9:19: note: while referencing 'AB' 9 | int long long AB[2][2]; | ^~ main.cpp:19:28: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds] 19 | A[i][j]=AB[i][j];
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms397kbKilled by Signal 110
23ms397kbKilled by Signal 110
33ms397kbKilled by Signal 110
43ms401kbKilled by Signal 110
53ms397kbKilled by Signal 110
63ms397kbKilled by Signal 110
73ms401kbKilled by Signal 110
83ms401kbKilled by Signal 110
93ms397kbKilled by Signal 110
103ms397kbKilled by Signal 110
110ms401kbKilled by Signal 110
120ms405kbKilled by Signal 110
130ms405kbKilled by Signal 110
140ms401kbKilled by Signal 110
150ms397kbKilled by Signal 110
160ms397kbKilled by Signal 110
170ms401kbKilled by Signal 110
180ms401kbKilled by Signal 110
194ms405kbKilled by Signal 110
203ms401kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?