Borderou de evaluare (job #2912498)

Utilizator lolismekAlex Jerpelea lolismek Data 8 iulie 2022 18:01:11
Problema Hprob Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:103:7: warning: array subscript 1 is above array bounds of 'long double [1][25]' [-Warray-bounds] 103 | ans[1][1] = 1; | ~~~~~^ main.cpp:91:8: note: while referencing 'ans' 91 | double ans[1][Nfact + 1], trans[Nfact + 1][Nfact + 1], p[N + 1]; | ^~~ main.cpp:105:8: warning: array subscript 1 is above array bounds of 'long double [1][25]' [-Warray-bounds] 105 | ans[1][i] = 0; | ~~~~~^ main.cpp:91:8: note: while referencing 'ans' 91 | double ans[1][Nfact + 1], trans[Nfact + 1][Nfact + 1], p[N + 1]; | ^~~ main.cpp:115:15: warning: array subscript 1 is above array bounds of 'long double [1][25]' [-Warray-bounds] 115 | fout << ans[1][1] << '\n'; | ~~~~~^ main.cpp:91:8: note: while referencing 'ans' 91 | double ans[1][Nfact + 1], trans[Nfact + 1][Nfact + 1], p[N + 1]; | ^~~ main.cpp:105:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset 432 is out of the bounds [0, 400] of object 'ans' with type 'long double [1][25]' [-Warray-bounds] 105 | ans[1][i] = 0; | ~~~~~~~~~~^~~ main.cpp:91:8: note: 'ans' declared here 91 | double ans[1][Nfact + 1], trans[Nfact + 1][Nfact + 1], p[N + 1]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms307kbOK10
23ms184kbOK10
324ms307kbOK10
424ms184kbOK10
54ms307kbOK10
611ms311kbOK10
715ms307kbOK10
85ms184kbOK10
939ms184kbOK10
1024ms307kbOK10
Punctaj total100

Ceva nu functioneaza?