Borderou de evaluare (job #1678527)

Utilizator mirupetPetcan Miruna mirupet Data 7 aprilie 2016 13:24:53
Problema Dreptunghiuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &K, &N); ^ user.cpp:83:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &K, &N); ^ user.cpp:87:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &v[i].i1, &v[i].j1, &v[i].i2, &v[i].j2); ^ user.cpp:101:19: warning: array subscript is above array bounds [-Warray-bounds] line[i] = ++nr1; ^ user.cpp:103:19: warning: array subscript is above array bounds [-Warray-bounds] line[i] = nr1; ^ user.cpp:108:18: warning: array subscript is above array bounds [-Warray-bounds] col[i] = ++nr2; ^ user.cpp:110:18: warning: array subscript is above array bounds [-Warray-bounds] col[i] = nr2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms988kbIncorect0
28ms3672kbIncorect0
38ms4012kbIncorect0
416ms6624kbIncorect0
520ms8072kbIncorect0
636ms11704kbIncorect0
748ms13472kbIncorect0
864ms16108kbIncorect0
964ms16108kbIncorect0
1076msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?