Borderou de evaluare (job #1960296)

Utilizator andreiudilaUdila Andrei andreiudila Data 10 aprilie 2017 12:47:57
Problema Jmenoasa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", & a[i][1]); ^ user.cpp:27:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &a[i][j]); b[i][j]=1; ^ user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jmenoasa.in", "r", stdin); ^ user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:23:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", & a[i][1]); ^ user.cpp:27:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); b[i][j]=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8348kbIncorect0
28ms8656kbOK10
312ms9052kbOK10
4120ms12184kbIncorect0
5216ms13752kbIncorect0
6Depăşit14532kbTime limit exceeded.0
7Depăşit15296kbTime limit exceeded.0
8Depăşit13768kbTime limit exceeded.0
9Depăşit13928kbTime limit exceeded.0
10Depăşit14404kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?