Pagini recente » Borderou de evaluare (job #194280) | Borderou de evaluare (job #1513757) | Borderou de evaluare (job #852237) | Borderou de evaluare (job #1930895) | Borderou de evaluare (job #2485227)
Borderou de evaluare (job #2485227)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lapte.in","r",stdin);
^
main.cpp:37:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lapte.out","w",stdout);
^
main.cpp:38:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&l);
^
main.cpp:40:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&mat[1][i][1],&mat[1][i][2]);
^
main.cpp: In function 'void update(int)':
main.cpp:29:33: warning: array subscript is above array bounds [-Warray-bounds]
v[1][i][j][2]=lt2;
~~~~~~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:52:75: warning: array subscript is above array bounds [-Warray-bounds]
v[2][i][j][1]=v[1][i][j][1],v[2][i][j][2]=v[1][i][j][2];
~~~~~~~~~~~~^
main.cpp:52:61: warning: array subscript is above array bounds [-Warray-bounds]
v[2][i][j][1]=v[1][i][j][1],v[2][i][j][2]=v[1][i][j][2];
~~~~~~~~~~~~^
main.cpp:62:36: warning: array subscript is above array bounds [-Warray-bounds]
mat[2][cn][2]=v[2][cn][l][2];
~~~~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK! | 10 |
2 | 3ms | 131kb | OK! | 10 |
3 | 4ms | 131kb | OK! | 10 |
4 | 5ms | 262kb | OK! | 10 |
5 | 7ms | 327kb | OK! | 10 |
6 | 36ms | 262kb | OK! | 10 |
7 | 70ms | 282kb | OK! | 10 |
8 | 61ms | 262kb | OK! | 10 |
9 | 76ms | 393kb | OK! | 10 |
10 | 91ms | 278kb | OK! | 10 |
Punctaj total | 100 |