Borderou de evaluare (job #1786227)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 22 octombrie 2016 16:56:06
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘void generare()’: user.cpp:56:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", b[i].elem); ^ user.cpp: In function ‘void citire()’: user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &n); ^ user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:61:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in","r",stdin); ^ user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms296kbCorect!1010
216ms304kbSubsir incorect!55
30ms284kbLungime incorecta!00
40ms288kbLungime incorecta!00
50ms288kbLungime incorecta!00
68ms296kbLungime incorecta!00
712ms296kbLungime incorecta!00
8Depăşit712kbTime limit exceeded.00
9Depăşit804kbTime limit exceeded.0
10Depăşit712kbTime limit exceeded.0
Punctaj total15

Ceva nu functioneaza?