Borderou de evaluare (job #1960302)

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

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
18ms8344kbIncorect0
28ms8660kbIncorect0
312ms9056kbIncorect0
4112ms12184kbIncorect0
5208ms13756kbIncorect0
6Depăşit14532kbTime limit exceeded.0
7Depăşit15292kbTime limit exceeded.0
8Depăşit14812kbTime limit exceeded.0
9Depăşit14532kbTime limit exceeded.0
10Depăşit14356kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?