Pagini recente » Borderou de evaluare (job #816571) | Borderou de evaluare (job #2419258) | Borderou de evaluare (job #1741198) | Borderou de evaluare (job #477028) | Borderou de evaluare (job #2990819)
Borderou de evaluare (job #2990819)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:30: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations]
24 | frecvs_cif[i]=0;
| ~~~~~~~~~~~~~^~
main.cpp:20:23: note: within this loop
20 | for(int i=0; i<=70; i++)
| ~^~~~
main.cpp:24:30: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [60, 283] is out of the bounds [0, 60] of object 'frecvs_cif' with type 'int [15]' [-Warray-bounds]
24 | frecvs_cif[i]=0;
| ~~~~~~~~~~~~~^~
main.cpp:9:37: note: 'frecvs_cif' declared here
9 | int frecvs_lit[105],frecvt_lit[105],frecvs_cif[15],frecvt_cif[15];
| ^~~~~~~~~~
main.cpp:25:30: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [60, 283] is out of the bounds [0, 60] of object 'frecvt_cif' with type 'int [15]' [-Warray-bounds]
25 | frecvt_cif[i]=0;
| ~~~~~~~~~~~~~^~
main.cpp:9:52: note: 'frecvt_cif' declared here
9 | int frecvs_lit[105],frecvt_lit[105],frecvs_cif[15],frecvt_cif[15];
| ^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 100 |
Punctaj total | 100 |