Pagini recente » Borderou de evaluare (job #2418718) | Borderou de evaluare (job #2960120) | Borderou de evaluare (job #3269881) | Borderou de evaluare (job #3133269) | Borderou de evaluare (job #2855753)
Borderou de evaluare (job #2855753)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:181:26: warning: iteration 200001 invokes undefined behavior [-Waggressive-loop-optimizations]
181 | m[i]=e[i]=d[i]=0;
| ~~~~^~~~~~~
main.cpp:179:27: note: within this loop
179 | for(int i=1; i<=MAX; i++)
| ^
main.cpp:181:26: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800008, 800011] is out of the bounds [0, 800008] of object 'e' with type 'int [200002]' [-Warray-bounds]
181 | m[i]=e[i]=d[i]=0;
| ~~~~^~~~~~~
main.cpp:12:12: note: 'e' declared here
12 | int m[MAX],e[MAX],f[21],d[MAX+2],sr[MAX+1];
| ^
main.cpp:181:21: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800008, 800011] is out of the bounds [0, 800008] of object 'm' with type 'int [200002]' [-Warray-bounds]
181 | m[i]=e[i]=d[i]=0;
| ~~~~^~~~~~~~~~~~
main.cpp:12:5: note: 'm' declared here
12 | int m[MAX],e[MAX],f[21],d[MAX+2],sr[MAX+1];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect! | 6 |
2 | 2ms | 184kb | Corect! | 6 |
3 | 2ms | 184kb | Corect! | 9 |
4 | 378ms | 200kb | Corect! | 10 |
5 | 171ms | 20221kb | Gresit! | 0 |
6 | 6ms | 4395kb | Gresit! | 0 |
7 | 6ms | 4464kb | Gresit! | 0 |
8 | 6ms | 4468kb | Gresit! | 0 |
9 | 6ms | 4468kb | Gresit! | 0 |
10 | 10ms | 4476kb | Gresit! | 0 |
11 | 34ms | 4517kb | Gresit! | 0 |
12 | 221ms | 11014kb | Gresit! | 0 |
13 | 644ms | 20307kb | Gresit! | 0 |
Punctaj total | 31 |