Borderou de evaluare (job #2859720)

Utilizator Ana100Ana-Maria Tomoiala Ana100 Data 1 martie 2022 20:10:35
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int j=0;j<strlen(s);j++) | ~^~~~~~~~~~ main.cpp:94:25: warning: iteration 16899 invokes undefined behavior [-Waggressive-loop-optimizations] 94 | f[x]=0; | ~~~~^~ main.cpp:92:30: note: within this loop 92 | for(int x=1;x<=NMAX;x++) | ~^~~~~~ main.cpp:94:25: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [67600, 67603] is out of the bounds [0, 67600] of object 'f' with type 'int [16900]' [-Warray-bounds] 94 | f[x]=0; | ~~~~^~ main.cpp:7:68: note: 'f' declared here 7 | int v[130][130],n,m,cnt,marcat[130][130],aria,max1,suprafata[NMAX],f[NMAX]; | ^ main.cpp:101:28: warning: 'jmax' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 | cout<<imax<<" "<<jmax<<" "<<max2; | ^~~ main.cpp:101:17: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 | cout<<imax<<" "<<jmax<<" "<<max2; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
36ms987kbOK10
46ms954kbOK10
56ms778kbOK10
66ms430kbOK10
716ms815kbOK10
844ms401kbOK10
911ms462kbOK10
106ms987kbOK10
Punctaj total100

Ceva nu functioneaza?