Borderou de evaluare (job #1786198)

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

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &a[i]); ^ user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:44: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:45: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
14ms288kbSubsirul nu e strict crescator!55
28ms304kbCorect!1010
30ms276kbLungime incorecta!00
40ms280kbLungime incorecta!00
50ms280kbLungime incorecta!00
64ms288kbLungime incorecta!00
74ms296kbLungime incorecta!00
8Depăşit688kbTime limit exceeded.00
9Depăşit696kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
Punctaj total15

Ceva nu functioneaza?