Borderou de evaluare (job #3168061)

Utilizator bagae123Burlacu Andrei bagae123 Data 11 noiembrie 2023 14:48:50
Problema Pascal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:26: warning: array subscript 5 is above array bounds of 'int [4]' [-Warray-bounds] 11 | if(i==0)v[2]=v[3]=v[5]=0; | ~~~^ main.cpp:7:38: note: while referencing 'v' 7 | int a[5000001],b[5000001],c[5000001],v[4]; | ^ main.cpp:36:17: warning: array subscript 5 is above array bounds of 'int [4]' [-Warray-bounds] 36 | c[i]=v[5]; | ~~~^ main.cpp:7:38: note: while referencing 'v' 7 | int a[5000001],b[5000001],c[5000001],v[4]; | ^ main.cpp:32:16: warning: array subscript 5 is above array bounds of 'int [4]' [-Warray-bounds] 32 | v[5]++; | ~~~^ main.cpp:7:38: note: while referencing 'v' 7 | int a[5000001],b[5000001],c[5000001],v[4]; | ^ main.cpp:32:16: warning: array subscript 5 is above array bounds of 'int [4]' [-Warray-bounds] 32 | v[5]++; | ~~~^ main.cpp:7:38: note: while referencing 'v' 7 | int a[5000001],b[5000001],c[5000001],v[4]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms59650kbOk!10
249ms60252kbOk!10
349ms60289kbOk!10
449ms60350kbOk!10
544ms59944kbOk!10
644ms59957kbOk!10
744ms59719kbOk!10
844ms60059kbOk!10
944ms59895kbOk!10
1049ms60411kbOk!10
Punctaj total100

Ceva nu functioneaza?