Pagini recente » Cod sursa (job #3274160) | Borderou de evaluare (job #2021574) | Cod sursa (job #3233801) | Borderou de evaluare (job #2859092) | Borderou de evaluare (job #2912498)
Borderou de evaluare (job #2912498)
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 |
1 | 10ms | 307kb | OK | 10 |
2 | 3ms | 184kb | OK | 10 |
3 | 24ms | 307kb | OK | 10 |
4 | 24ms | 184kb | OK | 10 |
5 | 4ms | 307kb | OK | 10 |
6 | 11ms | 311kb | OK | 10 |
7 | 15ms | 307kb | OK | 10 |
8 | 5ms | 184kb | OK | 10 |
9 | 39ms | 184kb | OK | 10 |
10 | 24ms | 307kb | OK | 10 |
Punctaj total | 100 |