Borderou de evaluare (job #1817882)

Utilizator cristina_borzaCristina Borza cristina_borza Data 28 noiembrie 2016 17:02:26
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1505]’ [-Wformat=] scanf("%s", &mat[i]); ^ user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in" , "r" ,stdin); ^ user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out" , "w" , stdout); ^ user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &mat[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms728kbOK10
212ms3224kbOK10
332ms4804kbOK10
4208ms22328kbOK10
5264ms22336kbOK10
6Depăşit43912kbTime limit exceeded.0
7Depăşit57580kbTime limit exceeded.0
8276msDepăşitMemory limit exceeded.0
9308msDepăşitMemory limit exceeded.0
10276msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?