Borderou de evaluare (job #3300795)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:18: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
53 | father[i]=-1;
| ~~~~~~~~~^~~
main.cpp:51:18: note: within this loop
51 | for(int i=1;i<=nmax;i++)
| ~^~~~~~
main.cpp:53:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400020, 400023] is out of the bounds [0, 400020] of object 'father' with type 'int [100005]' [-Warray-bounds]
53 | father[i]=-1;
| ~~~~~~~~~^~~
main.cpp:8:5: note: 'father' declared here
8 | int father[nmax];
| ^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 557kb | OK | 10 | 10 |
| 2 | 11ms | 20885kb | Memory limit exceeded | 0 | 0 |
| 3 | 11ms | 21078kb | Memory limit exceeded | 0 | 0 |
| 4 | 11ms | 20963kb | Memory limit exceeded | 0 | 0 |
| 5 | 11ms | 20897kb | Memory limit exceeded | 0 | 0 |
| 6 | 11ms | 21086kb | Memory limit exceeded | 0 |
| 7 | 11ms | 21102kb | Memory limit exceeded | 0 |
| 8 | 14ms | 21024kb | Memory limit exceeded | 0 | 0 |
| 9 | 13ms | 20930kb | Memory limit exceeded | 0 | 0 |
| 10 | 13ms | 20881kb | Memory limit exceeded | 0 | 0 |
| Punctaj total | 10 |