Borderou de evaluare (job #2912487)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:7: warning: array subscript 1 is above array bounds of 'double [1][32]' [-Warray-bounds]
71 | ans[1][1] = 1;
| ~~~~~^
main.cpp:57:38: note: while referencing 'ans'
57 | double x[N + 1], p[N + 1], y[N + 1], ans[1][N + 1], trans[N + 1][N + 1];
| ^~~
main.cpp:73:8: warning: array subscript 1 is above array bounds of 'double [1][32]' [-Warray-bounds]
73 | ans[1][i + 1] = x[i];
| ~~~~~^
main.cpp:57:38: note: while referencing 'ans'
57 | double x[N + 1], p[N + 1], y[N + 1], ans[1][N + 1], trans[N + 1][N + 1];
| ^~~
main.cpp:89:16: warning: array subscript 1 is above array bounds of 'double [1][32]' [-Warray-bounds]
89 | fout << ans[1][i + 1] << ' ';
| ~~~~~^
main.cpp:57:38: note: while referencing 'ans'
57 | double x[N + 1], p[N + 1], y[N + 1], ans[1][N + 1], trans[N + 1][N + 1];
| ^~~
main.cpp:73:17: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' offset 272 is out of the bounds [0, 256] of object 'ans' with type 'double [1][32]' [-Warray-bounds]
73 | ans[1][i + 1] = x[i];
| ~~~~~~~~~~~~~~^~~~~~
main.cpp:57:38: note: 'ans' declared here
57 | double x[N + 1], p[N + 1], y[N + 1], ans[1][N + 1], trans[N + 1][N + 1];
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Okay | 10 |
2 | 1ms | 184kb | Wrong answer! | 0 |
3 | 1ms | 184kb | Wrong answer! | 0 |
4 | 7ms | 245kb | Wrong answer! | 0 |
5 | 2ms | 184kb | Wrong answer! | 0 |
6 | 7ms | 184kb | Wrong answer! | 0 |
7 | 1ms | 184kb | Wrong answer! | 0 |
8 | 1ms | 184kb | Wrong answer! | 0 |
9 | 1ms | 184kb | Wrong answer! | 0 |
10 | 6ms | 290kb | Wrong answer! | 0 |
Punctaj total | 10 |