Pagini recente » Borderou de evaluare (job #2364979) | Borderou de evaluare (job #1395470) | Borderou de evaluare (job #749626) | Borderou de evaluare (job #2175021) | Borderou de evaluare (job #2859720)
Borderou de evaluare (job #2859720)
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 |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 6ms | 987kb | OK | 10 |
4 | 6ms | 954kb | OK | 10 |
5 | 6ms | 778kb | OK | 10 |
6 | 6ms | 430kb | OK | 10 |
7 | 16ms | 815kb | OK | 10 |
8 | 44ms | 401kb | OK | 10 |
9 | 11ms | 462kb | OK | 10 |
10 | 6ms | 987kb | OK | 10 |
Punctaj total | 100 |