Pagini recente » Borderou de evaluare (job #3114502) | Borderou de evaluare (job #957811) | Borderou de evaluare (job #2172300) | Borderou de evaluare (job #2667056) | Borderou de evaluare (job #2840914)
Borderou de evaluare (job #2840914)
Raport evaluator
Compilare:
main.cpp: In function 'void reinit()':
main.cpp:18:17: warning: iteration 600004 invokes undefined behavior [-Waggressive-loop-optimizations]
18 | tata[i] = -1;
| ~~~~~~~~^~~~
main.cpp:16:23: note: within this loop
16 | for (int i = 1; i <= NMAX; i++)
| ^
main.cpp:18:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [2400020, 2400023] is out of the bounds [0, 2400020] of object 'tata' with type 'int [600005]' [-Warray-bounds]
18 | tata[i] = -1;
| ~~~~~~~~^~~~
main.cpp:11:16: note: 'tata' declared here
11 | int cif[NMAX], tata[NMAX];
| ^~~~
main.cpp:19:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [2400020, 2400023] is out of the bounds [0, 2400020] of object 'cif' with type 'int [600005]' [-Warray-bounds]
19 | cif[i] = 0;
| ~~~~~~~^~~
main.cpp:11:5: note: 'cif' declared here
11 | int cif[NMAX], tata[NMAX];
| ^~~
In function 'void reinit()',
inlined from 'void cautNumar(int, int)' at main.cpp:25:11:
main.cpp:18:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [2400020, 2400023] is out of the bounds [0, 2400020] of object 'tata' with type 'int [600005]' [-Warray-bounds]
18 | tata[i] = -1;
| ~~~~~~~~^~~~
main.cpp: In function 'void cautNumar(int, int)':
main.cpp:11:16: note: 'tata' declared here
11 | int cif[NMAX], tata[NMAX];
| ^~~~
In function 'void reinit()',
inlined from 'void cautNumar(int, int)' at main.cpp:25:11:
main.cpp:19:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [2400020, 2400023] is out of the bounds [0, 2400020] of object 'cif' with type 'int [600005]' [-Warray-bounds]
19 | cif[i] = 0;
| ~~~~~~~^~~
main.cpp: In function 'void cautNumar(int, int)':
main.cpp:11:5: note: 'cif' declared here
11 | int cif[NMAX], tata[NMAX];
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 78ms | 36884kb | Memory limit exceeded | 0 | 0 |
2 | 79ms | 36880kb | Memory limit exceeded | 0 | 0 |
3 | 82ms | 36884kb | Memory limit exceeded | 0 | 0 |
4 | 6ms | 4702kb | Killed by Signal 11 | 0 | 0 |
5 | 6ms | 4788kb | Killed by Signal 11 | 0 |
6 | 110ms | 36880kb | Memory limit exceeded | 0 |
7 | 6ms | 4730kb | Killed by Signal 11 | 0 | 0 |
8 | 6ms | 4816kb | Killed by Signal 11 | 0 |
9 | 6ms | 4820kb | Killed by Signal 11 | 0 |
10 | 14ms | 5832kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |