Borderou de evaluare (job #1817893)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1505]’ [-Wformat=] scanf ("%s" , &sir); ^ 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:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s" , &sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms572kbOK10
28ms2228kbOK10
328ms3284kbOK10
4156ms14976kbOK10
5204ms14976kbOK10
6476ms29384kbOK10
7Depăşit38460kbTime limit exceeded.0
8Depăşit44344kbTime limit exceeded.0
9Depăşit44340kbTime limit exceeded.0
10Depăşit44340kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?